Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") [: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 3.2.1+maint.om/package.mo): time 0.005009/0.00501, allocations: 174.8 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.36/1.36, allocations: 170.6 MB / 178.4 MB, free: 15.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001756/0.001756, allocations: 121.1 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1823/0.1823, allocations: 37.97 MB / 294.8 MB, free: 9.641 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.043e-05, allocations: 1.625 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 48.7 MB / 398.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.286/6.406, allocations: 2.523 GB / 2.912 GB, free: 116.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/6.407, allocations: 89.17 kB / 2.912 GB, free: 116.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.935/7.342, allocations: 227.9 MB / 3.135 GB, free: 61.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.569e-05/7.342, allocations: 11.41 kB / 3.135 GB, free: 61.26 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.008532/7.35, allocations: 1.296 MB / 3.136 GB, free: 60.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/7.35, allocations: 11.09 kB / 3.136 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/7.353, allocations: 257 kB / 3.136 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/7.355, allocations: 432 kB / 3.137 GB, free: 60.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/7.355, allocations: 15.45 kB / 3.137 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/7.355, allocations: 21.97 kB / 3.137 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009501/7.356, allocations: 341.5 kB / 3.137 GB, free: 60.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/7.357, allocations: 427.8 kB / 3.138 GB, free: 59.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/7.357, allocations: 3.875 kB / 3.138 GB, free: 59.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/7.357, allocations: 7.812 kB / 3.138 GB, free: 59.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/7.357, allocations: 8.094 kB / 3.138 GB, free: 59.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009144/7.366, allocations: 4.169 MB / 3.142 GB, free: 56.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/7.367, allocations: 235.6 kB / 3.142 GB, free: 56.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/7.367, allocations: 123.9 kB / 3.142 GB, free: 56.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1279/7.495, allocations: 50.49 MB / 3.191 GB, free: 26.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/7.495, allocations: 46.5 kB / 3.191 GB, free: 26.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.216e-06/7.495, allocations: 0 / 3.191 GB, free: 26.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002444/7.498, allocations: 0.533 MB / 3.192 GB, free: 26.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/7.498, allocations: 105.7 kB / 3.192 GB, free: 26.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/7.498, allocations: 281.3 kB / 3.192 GB, free: 26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/7.498, allocations: 25.7 kB / 3.192 GB, free: 25.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/7.498, allocations: 206.3 kB / 3.193 GB, free: 25.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/7.498, allocations: 89.14 kB / 3.193 GB, free: 25.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/7.498, allocations: 4 kB / 3.193 GB, free: 25.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/7.499, allocations: 338.6 kB / 3.193 GB, free: 25.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/7.499, allocations: 119.7 kB / 3.193 GB, free: 25.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/7.499, allocations: 260.6 kB / 3.193 GB, free: 24.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/7.5, allocations: 225.6 kB / 3.193 GB, free: 24.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/7.5, allocations: 0 / 3.193 GB, free: 24.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001994/7.502, allocations: 0.6444 MB / 3.194 GB, free: 24.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004324/7.503, allocations: 1.483 MB / 3.196 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/7.503, allocations: 8 kB / 3.196 GB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/7.503, allocations: 4 kB / 3.196 GB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/7.503, allocations: 124.7 kB / 3.196 GB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/7.503, allocations: 7.938 kB / 3.196 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/7.504, allocations: 89.98 kB / 3.196 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/7.504, allocations: 23.47 kB / 3.196 GB, free: 22.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/7.504, allocations: 4 kB / 3.196 GB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/7.505, allocations: 396.2 kB / 3.196 GB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/7.505, allocations: 8.094 kB / 3.196 GB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/7.505, allocations: 7.938 kB / 3.196 GB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/7.506, allocations: 122.5 kB / 3.196 GB, free: 22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/7.506, allocations: 11.88 kB / 3.196 GB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/7.506, allocations: 73.72 kB / 3.196 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/7.506, allocations: 23.56 kB / 3.196 GB, free: 21.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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 0.0001428/7.506, allocations: 112.9 kB / 3.197 GB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005875/7.507, allocations: 192.8 kB / 3.197 GB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/7.509, allocations: 1.743 MB / 3.198 GB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/7.509, allocations: 27.48 kB / 3.198 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/7.509, allocations: 7.938 kB / 3.198 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/7.509, allocations: 0 / 3.198 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/7.512, allocations: 2.44 MB / 3.201 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/7.513, allocations: 0 / 3.201 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/7.513, allocations: 90.81 kB / 3.201 GB, free: 17.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/7.513, allocations: 4 kB / 3.201 GB, free: 17.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/7.513, allocations: 11.89 kB / 3.201 GB, free: 17.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/7.513, allocations: 4 kB / 3.201 GB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/7.513, allocations: 0 / 3.201 GB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002065/7.515, allocations: 1.464 MB / 3.202 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/7.515, allocations: 212.9 kB / 3.203 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/7.516, allocations: 4 kB / 3.203 GB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/7.516, allocations: 58.33 kB / 3.203 GB, free: 16.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/7.516, allocations: 38.81 kB / 3.203 GB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/7.516, allocations: 12 kB / 3.203 GB, free: 16.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002894/7.516, allocations: 249.3 kB / 3.203 GB, free: 15.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006558/7.523, allocations: 1.145 MB / 3.204 GB, free: 14.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.01152/7.535, allocations: 1.561 MB / 3.206 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/7.536, allocations: 0.9282 MB / 3.206 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/7.536, allocations: 0 / 3.206 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007815/7.537, allocations: 0.7001 MB / 3.207 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/7.538, allocations: 171 kB / 3.207 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03912/7.578, allocations: 14.1 MB / 3.221 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/7.579, allocations: 0.9906 MB / 3.222 GB, free: 14.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/7.579, allocations: 0 / 3.222 GB, free: 14.57 MB / 442.7 MB Notification: Performance of Templates: time 0.3876/7.966, allocations: 34.7 MB / 3.256 GB, free: 108.4 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1)