Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4923/0.4923, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 343.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.000876, allocations: 87.36 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.991e-05, allocations: 4 kB / 494.6 MB, free: 52.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 72.32 MB / 0.5536 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.5561, allocations: 104.6 MB / 0.6558 GB, free: 5.492 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.5564, allocations: 90.06 kB / 0.6558 GB, free: 5.441 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.5696, allocations: 5.268 MB / 0.661 GB, free: 1.211 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5696, allocations: 0 / 0.661 GB, free: 1.211 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.5696, allocations: 4 kB / 0.661 GB, free: 1.207 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000486/0.5701, allocations: 436.6 kB / 0.6614 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5702, allocations: 12.03 kB / 0.6614 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.5702, allocations: 15.81 kB / 0.6614 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.5706, allocations: 251.5 kB / 0.6617 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5706, allocations: 4 kB / 0.6617 GB, free: 456 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.5706, allocations: 3.938 kB / 0.6617 GB, free: 452 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000272/0.5709, allocations: 191.8 kB / 0.6619 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.5711, allocations: 125.7 kB / 0.662 GB, free: 172 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5711, allocations: 0 / 0.662 GB, free: 172 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.5711, allocations: 3.953 kB / 0.662 GB, free: 168 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.5711, allocations: 0 / 0.662 GB, free: 168 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.5714, allocations: 221.9 kB / 0.6622 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.5718, allocations: 191 kB / 0.6624 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.5719, allocations: 65.14 kB / 0.6624 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.5719, allocations: 11.36 kB / 0.6625 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.5721, allocations: 110.8 kB / 0.6626 GB, free: 15.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.5721, allocations: 0 / 0.6626 GB, free: 15.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.000339/0.5725, allocations: 189.4 kB / 0.6627 GB, free: 15.47 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.5725, allocations: 81.11 kB / 0.6628 GB, free: 15.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.5727, allocations: 222.9 kB / 0.663 GB, free: 15.19 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.5728, allocations: 26.03 kB / 0.6631 GB, free: 15.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.5728, allocations: 114.8 kB / 0.6632 GB, free: 15.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.5729, allocations: 39.08 kB / 0.6632 GB, free: 15.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5729, allocations: 3.938 kB / 0.6632 GB, free: 15.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.573, allocations: 331.9 kB / 0.6635 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.5731, allocations: 53.11 kB / 0.6636 GB, free: 14.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.5732, allocations: 76.25 kB / 0.6636 GB, free: 14.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.303e-05/0.5733, allocations: 68.11 kB / 0.6637 GB, free: 14.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5733, allocations: 0 / 0.6637 GB, free: 14.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002644/0.5736, allocations: 203.7 kB / 0.6639 GB, free: 14.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5736, allocations: 4 kB / 0.6639 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5736, allocations: 0 / 0.6639 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5736, allocations: 0 / 0.6639 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.5737, allocations: 31.92 kB / 0.6639 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5738, allocations: 3.984 kB / 0.6639 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.5738, allocations: 4.031 kB / 0.6639 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.5739, allocations: 15.94 kB / 0.664 GB, free: 14.33 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/0.574, allocations: 114.9 kB / 0.6641 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002603/0.5742, allocations: 191.7 kB / 0.6643 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.5743, allocations: 15.81 kB / 0.6643 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.5746, allocations: 264.6 kB / 0.6645 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5747, allocations: 0 / 0.6645 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.5747, allocations: 7.953 kB / 0.6645 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5747, allocations: 0 / 0.6645 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.5749, allocations: 248.2 kB / 0.6648 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5749, allocations: 0 / 0.6648 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.575, allocations: 39.86 kB / 0.6648 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.575, allocations: 0 / 0.6648 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.5751, allocations: 4 kB / 0.6648 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5751, allocations: 0 / 0.6648 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5751, allocations: 0 / 0.6648 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.5754, allocations: 259.9 kB / 0.6651 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.5755, allocations: 108.7 kB / 0.6652 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.5755, allocations: 4 kB / 0.6652 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.5756, allocations: 4 kB / 0.6652 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.5756, allocations: 15.97 kB / 0.6652 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.5756, allocations: 7.312 kB / 0.6652 GB, free: 13.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.5758, allocations: 187 kB / 0.6654 GB, free: 13.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.5758, allocations: 0 / 0.6654 GB, free: 13.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.576, allocations: 51.88 kB / 0.6654 GB, free: 12.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.5773, allocations: 1.085 MB / 0.6665 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.5776, allocations: 137.5 kB / 0.6666 GB, free: 11.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5776, allocations: 0 / 0.6666 GB, free: 11.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.5777, allocations: 90.47 kB / 0.6667 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.5779, allocations: 26.23 kB / 0.6667 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.5786, allocations: 316.1 kB / 0.667 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.5788, allocations: 0.7363 MB / 0.6677 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.579, allocations: 49.77 kB / 0.6678 GB, free: 10.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.5791, allocations: 70.27 kB / 0.6679 GB, free: 10.66 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5791, allocations: 4 kB / 0.6679 GB, free: 10.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.6036, allocations: 4.463 MB / 0.6722 GB, free: 6.234 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.6038, allocations: 185.2 kB / 0.6724 GB, free: 6.047 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.292, allocations: 0 / 0.6724 GB, free: 6.047 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)