Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 106.3 kB / 16.4 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 195.9 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.068/2.068, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.272/1.272, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 65.78 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2336, allocations: 76.18 MB / 0.6316 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.005667/0.2393, allocations: 2.594 MB / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.2419, allocations: 0.9041 MB / 0.635 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005618/0.2425, allocations: 11.94 kB / 0.635 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.243, allocations: 63.39 kB / 0.635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.2435, allocations: 67.33 kB / 0.6351 GB, free: 1.281 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.2444, allocations: 238.8 kB / 0.6353 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009436/0.2454, allocations: 455.7 kB / 0.6358 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/0.2459, allocations: 225.1 kB / 0.636 GB, free: 388 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.2462, allocations: 151.3 kB / 0.6361 GB, free: 236 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.2465, allocations: 151.2 kB / 0.6363 GB, free: 84 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.2466, allocations: 48 kB / 0.6363 GB, free: 36 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.2468, allocations: 52.05 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.2469, allocations: 91.66 kB / 0.6365 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.2472, allocations: 183 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009134/0.2482, allocations: 0.6227 MB / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.278e-05/0.2482, allocations: 7.922 kB / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.2482, allocations: 0 / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.856e-05/0.2482, allocations: 0 / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001451/0.2497, allocations: 0.6351 MB / 0.6379 GB, free: 14.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.2498, allocations: 8.031 kB / 0.6379 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.2499, allocations: 66.72 kB / 0.6379 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.25, allocations: 40.47 kB / 0.638 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/0.2507, allocations: 395.1 kB / 0.6384 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.2508, allocations: 20.94 kB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.2509, allocations: 24.38 kB / 0.6384 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.2516, allocations: 337.5 kB / 0.6387 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2516, allocations: 3.938 kB / 0.6387 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.2517, allocations: 12 kB / 0.6387 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.2517, allocations: 4 kB / 0.6387 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.2525, allocations: 234.1 kB / 0.639 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.2546, allocations: 1.159 MB / 0.6401 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.2552, allocations: 234.7 kB / 0.6403 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.2556, allocations: 103.1 kB / 0.6404 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.2556, allocations: 0 / 0.6404 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.2557, allocations: 38.56 kB / 0.6405 GB, free: 11.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.2557, allocations: 0 / 0.6405 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00105/0.2567, allocations: 297.2 kB / 0.6407 GB, free: 11.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.2568, allocations: 81.05 kB / 0.6408 GB, free: 11.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.2573, allocations: 332.4 kB / 0.6411 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.2573, allocations: 33.7 kB / 0.6412 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.2575, allocations: 196.1 kB / 0.6413 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.2576, allocations: 51.27 kB / 0.6414 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.2577, allocations: 37.7 kB / 0.6414 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2579, allocations: 342.8 kB / 0.6418 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.2581, allocations: 92.78 kB / 0.6418 GB, free: 10.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.2584, allocations: 121.3 kB / 0.642 GB, free: 9.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.2588, allocations: 192.2 kB / 0.6421 GB, free: 9.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2588, allocations: 0 / 0.6421 GB, free: 9.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005758/0.2594, allocations: 263 kB / 0.6424 GB, free: 9.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2594, allocations: 4 kB / 0.6424 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2594, allocations: 3.984 kB / 0.6424 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2595, allocations: 4 kB / 0.6424 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.2597, allocations: 31.92 kB / 0.6424 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2597, allocations: 3.938 kB / 0.6424 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.2599, allocations: 27.75 kB / 0.6425 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.2599, allocations: 12.05 kB / 0.6425 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002676/0.2602, allocations: 192.1 kB / 0.6427 GB, free: 9.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000182/0.2604, allocations: 99.41 kB / 0.6428 GB, free: 9.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002949/0.2607, allocations: 164.4 kB / 0.6429 GB, free: 8.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.2607, allocations: 7.969 kB / 0.6429 GB, free: 8.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004583/0.2612, allocations: 229.1 kB / 0.6431 GB, free: 8.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2612, allocations: 8 kB / 0.6432 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2612, allocations: 3.984 kB / 0.6432 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-06/0.2612, allocations: 0 / 0.6432 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2614, allocations: 35.86 kB / 0.6432 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.2614, allocations: 0 / 0.6432 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2615, allocations: 19.88 kB / 0.6432 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2616, allocations: 8.062 kB / 0.6432 GB, free: 8.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.2617, allocations: 195.7 kB / 0.6434 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.2618, allocations: 27.62 kB / 0.6434 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.2619, allocations: 35.28 kB / 0.6435 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.2619, allocations: 4 kB / 0.6435 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2619, allocations: 3.938 kB / 0.6435 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2619, allocations: 0 / 0.6435 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.2626, allocations: 405.3 kB / 0.6439 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2626, allocations: 0 / 0.6439 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.2628, allocations: 35.92 kB / 0.6439 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2628, allocations: 0 / 0.6439 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2628, allocations: 4 kB / 0.6439 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2628, allocations: 0 / 0.6439 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.2628, allocations: 3.938 kB / 0.6439 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.2637, allocations: 439.8 kB / 0.6443 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2638, allocations: 136.7 kB / 0.6444 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.2639, allocations: 7.938 kB / 0.6445 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.264, allocations: 4 kB / 0.6445 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.2641, allocations: 19.92 kB / 0.6445 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2641, allocations: 4 kB / 0.6445 GB, free: 7.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002707/0.2644, allocations: 235.1 kB / 0.6447 GB, free: 7.047 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2644, allocations: 4 kB / 0.6447 GB, free: 7.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004396/0.2649, allocations: 87.59 kB / 0.6448 GB, free: 6.957 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.266, allocations: 0.9698 MB / 0.6457 GB, free: 5.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.2667, allocations: 287.8 kB / 0.646 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.2667, allocations: 0 / 0.646 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2669, allocations: 95.91 kB / 0.6461 GB, free: 5.586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.2676, allocations: 89.22 kB / 0.6462 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.2726, allocations: 2.924 MB / 0.649 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.2732, allocations: 0.7753 MB / 0.6498 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.2735, allocations: 22.3 kB / 0.6498 GB, free: 1.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.2738, allocations: 99.39 kB / 0.6499 GB, free: 1.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2738, allocations: 4 kB / 0.6499 GB, free: 1.566 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/0.3153, allocations: 6.755 MB / 0.6565 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.54, allocations: 13.27 kB / 0.6565 GB, free: 10.91 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)