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: translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 191.4 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4448/0.4448, allocations: 90.85 MB / 99.07 MB, free: 14.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 221.4 MB / 342.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008701/0.00087, allocations: 103.2 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.248e-06/9.268e-06, allocations: 4 kB / 493.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3181, allocations: 72.29 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4323, allocations: 104.5 MB / 0.655 GB, free: 5.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4326, allocations: 94.45 kB / 0.6551 GB, free: 5.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01996/0.4526, allocations: 7.785 MB / 0.6627 GB, free: 13.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4526, allocations: 0 / 0.6627 GB, free: 13.62 MB / 490.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.0005265/0.4531, allocations: 465.4 kB / 0.6631 GB, free: 13.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.4532, allocations: 8.656 kB / 0.6631 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.4533, allocations: 19.72 kB / 0.6632 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.4536, allocations: 254.9 kB / 0.6634 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4537, allocations: 4.594 kB / 0.6634 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.4537, allocations: 4.781 kB / 0.6634 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002896/0.454, allocations: 175.8 kB / 0.6636 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4542, allocations: 124.8 kB / 0.6637 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4542, allocations: 0.6562 kB / 0.6637 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4542, allocations: 0 / 0.6637 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4542, allocations: 4.594 kB / 0.6637 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.4544, allocations: 230.5 kB / 0.6639 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.4547, allocations: 144.4 kB / 0.6641 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.4548, allocations: 59.03 kB / 0.6641 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.4548, allocations: 10.22 kB / 0.6641 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.4549, allocations: 112.4 kB / 0.6642 GB, free: 11.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.4549, allocations: 0.9375 kB / 0.6642 GB, free: 11.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003257/0.4553, allocations: 181.3 kB / 0.6644 GB, free: 11.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4553, allocations: 81.67 kB / 0.6645 GB, free: 11.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4556, allocations: 218.7 kB / 0.6647 GB, free: 11.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.4556, allocations: 25.7 kB / 0.6647 GB, free: 11.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.4556, allocations: 96.97 kB / 0.6648 GB, free: 11.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.4557, allocations: 39.45 kB / 0.6648 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.4557, allocations: 3.406 kB / 0.6648 GB, free: 11.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4558, allocations: 330.8 kB / 0.6652 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.4559, allocations: 59.91 kB / 0.6652 GB, free: 10.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.456, allocations: 74.56 kB / 0.6653 GB, free: 10.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.4561, allocations: 69.58 kB / 0.6654 GB, free: 10.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4561, allocations: 0.5 kB / 0.6654 GB, free: 10.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002804/0.4564, allocations: 194 kB / 0.6655 GB, free: 10.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4564, allocations: 8.922 kB / 0.6656 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4564, allocations: 7.906 kB / 0.6656 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.4565, allocations: 0 / 0.6656 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4566, allocations: 27.92 kB / 0.6656 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4566, allocations: 0.6875 kB / 0.6656 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.4567, allocations: 12.52 kB / 0.6656 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4567, allocations: 9.344 kB / 0.6656 GB, free: 10.43 MB / 490.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.906e-05/0.4568, allocations: 108.8 kB / 0.6657 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.4568, allocations: 15.81 kB / 0.6657 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.4573, allocations: 268.5 kB / 0.666 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4573, allocations: 4.594 kB / 0.666 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4573, allocations: 0 / 0.666 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4573, allocations: 5.469 kB / 0.666 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.4575, allocations: 246.7 kB / 0.6662 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4576, allocations: 0 / 0.6662 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.4577, allocations: 36.55 kB / 0.6663 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4577, allocations: 0.75 kB / 0.6663 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4577, allocations: 4 kB / 0.6663 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4577, allocations: 0.8125 kB / 0.6663 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4577, allocations: 0 / 0.6663 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000309/0.458, allocations: 246.4 kB / 0.6665 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.4581, allocations: 108.9 kB / 0.6666 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.4582, allocations: 4 kB / 0.6666 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.4582, allocations: 7.938 kB / 0.6666 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.4583, allocations: 15.97 kB / 0.6666 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4583, allocations: 8 kB / 0.6666 GB, free: 9.305 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001515/0.4585, allocations: 188 kB / 0.6668 GB, free: 9.121 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.4587, allocations: 43.94 kB / 0.6669 GB, free: 9.078 MB / 490.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.0007242/0.4595, allocations: 357.7 kB / 0.6672 GB, free: 8.879 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.4597, allocations: 143.9 kB / 0.6673 GB, free: 8.738 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4597, allocations: 4.062 kB / 0.6673 GB, free: 8.734 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.4598, allocations: 91.91 kB / 0.6674 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.4601, allocations: 30.19 kB / 0.6675 GB, free: 8.617 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.4606, allocations: 258.6 kB / 0.6677 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.461, allocations: 0.7752 MB / 0.6685 GB, free: 7.547 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.461, allocations: 4 kB / 0.6685 GB, free: 7.543 MB / 490.7 MB Notification: Performance of Templates: time 0.006123/0.4671, allocations: 2.733 MB / 0.6711 GB, free: 4.867 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)