Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") [: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.2+maint.om/package.mo): time 0.003005/0.003005, allocations: 186.9 kB / 7.461 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.274/1.274, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001849/0.001849, allocations: 115.4 kB / 247.1 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1726/0.1726, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.644e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09557, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.67/4.765, allocations: 2.606 GB / 3.043 GB, free: 148.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/4.766, allocations: 87.5 kB / 3.044 GB, free: 148.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.7582/5.524, allocations: 232.2 MB / 3.27 GB, free: 81.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.016e-05/5.524, allocations: 11.25 kB / 3.27 GB, free: 81.56 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005851/5.53, allocations: 1.292 MB / 3.272 GB, free: 80.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/5.53, allocations: 9.469 kB / 3.272 GB, free: 80.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/5.532, allocations: 270.7 kB / 3.272 GB, free: 80.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/5.533, allocations: 431.7 kB / 3.272 GB, free: 80.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/5.533, allocations: 13.09 kB / 3.272 GB, free: 80.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/5.533, allocations: 21 kB / 3.272 GB, free: 80.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000633/5.534, allocations: 348.2 kB / 3.273 GB, free: 80.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/5.535, allocations: 416 kB / 3.273 GB, free: 80.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/5.535, allocations: 3.281 kB / 3.273 GB, free: 80.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/5.535, allocations: 3.312 kB / 3.273 GB, free: 80.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/5.535, allocations: 7.5 kB / 3.273 GB, free: 80.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006449/5.541, allocations: 4.062 MB / 3.277 GB, free: 76.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/5.542, allocations: 275.5 kB / 3.277 GB, free: 76.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/5.542, allocations: 128.1 kB / 3.277 GB, free: 76.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1255/5.668, allocations: 53.85 MB / 3.33 GB, free: 44.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/5.668, allocations: 36.62 kB / 3.33 GB, free: 44.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.335e-06/5.668, allocations: 0 / 3.33 GB, free: 44.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002736/5.67, allocations: 0.5543 MB / 3.331 GB, free: 44.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/5.671, allocations: 109.1 kB / 3.331 GB, free: 44.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/5.671, allocations: 288.2 kB / 3.331 GB, free: 44.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/5.671, allocations: 26.67 kB / 3.331 GB, free: 44.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/5.671, allocations: 202.9 kB / 3.331 GB, free: 44.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/5.672, allocations: 94.03 kB / 3.331 GB, free: 44.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/5.672, allocations: 0 / 3.331 GB, free: 44.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/5.672, allocations: 347 kB / 3.332 GB, free: 43.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/5.672, allocations: 125 kB / 3.332 GB, free: 43.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/5.673, allocations: 272 kB / 3.332 GB, free: 43.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/5.674, allocations: 244.7 kB / 3.332 GB, free: 43.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/5.674, allocations: 5.281 kB / 3.332 GB, free: 43.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002601/5.677, allocations: 0.6678 MB / 3.333 GB, free: 43.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006396/5.677, allocations: 1.835 MB / 3.335 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/5.677, allocations: 4.375 kB / 3.335 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.603e-05/5.677, allocations: 12.36 kB / 3.335 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/5.678, allocations: 120.9 kB / 3.335 GB, free: 41.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/5.678, allocations: 7.594 kB / 3.335 GB, free: 41.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/5.679, allocations: 71.45 kB / 3.335 GB, free: 41.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.448e-05/5.679, allocations: 25.12 kB / 3.335 GB, free: 41.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/5.679, allocations: 3.688 kB / 3.335 GB, free: 41.13 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/5.68, allocations: 423.1 kB / 3.335 GB, free: 41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/5.68, allocations: 7.625 kB / 3.335 GB, free: 41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/5.68, allocations: 7.219 kB / 3.335 GB, free: 41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/5.68, allocations: 119.6 kB / 3.335 GB, free: 40.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/5.681, allocations: 7.562 kB / 3.335 GB, free: 40.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/5.681, allocations: 53.25 kB / 3.335 GB, free: 40.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/5.681, allocations: 30.72 kB / 3.336 GB, free: 40.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.0001538/5.681, allocations: 120.7 kB / 3.336 GB, free: 40.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/5.682, allocations: 200.7 kB / 3.336 GB, free: 40.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/5.684, allocations: 1.769 MB / 3.338 GB, free: 40.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/5.684, allocations: 18.56 kB / 3.338 GB, free: 40.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/5.684, allocations: 0 / 3.338 GB, free: 40.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/5.684, allocations: 3.938 kB / 3.338 GB, free: 40.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/5.687, allocations: 2.315 MB / 3.34 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/5.687, allocations: 1.375 kB / 3.34 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/5.687, allocations: 72.02 kB / 3.34 GB, free: 38.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/5.687, allocations: 3.531 kB / 3.34 GB, free: 38.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/5.687, allocations: 11.69 kB / 3.34 GB, free: 38.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/5.687, allocations: 7.625 kB / 3.34 GB, free: 38.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/5.687, allocations: 7.719 kB / 3.34 GB, free: 38.96 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002019/5.689, allocations: 1.452 MB / 3.341 GB, free: 38.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/5.69, allocations: 212.4 kB / 3.342 GB, free: 38.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/5.69, allocations: 3.906 kB / 3.342 GB, free: 38.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/5.69, allocations: 38 kB / 3.342 GB, free: 38.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/5.69, allocations: 34.5 kB / 3.342 GB, free: 38.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/5.69, allocations: 19.61 kB / 3.342 GB, free: 38.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002738/5.691, allocations: 251.7 kB / 3.342 GB, free: 37.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005897/5.697, allocations: 1.156 MB / 3.343 GB, free: 37.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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.008988/5.706, allocations: 1.561 MB / 3.345 GB, free: 36.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/5.707, allocations: 0.9592 MB / 3.345 GB, free: 36.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/5.707, allocations: 4.312 kB / 3.345 GB, free: 36.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000655/5.708, allocations: 0.6896 MB / 3.346 GB, free: 35.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/5.709, allocations: 160.2 kB / 3.346 GB, free: 35.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05431/5.763, allocations: 21.3 MB / 3.367 GB, free: 18.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005987/5.764, allocations: 1.015 MB / 3.368 GB, free: 17.65 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/5.764, allocations: 0 / 3.368 GB, free: 17.65 MB / 490.7 MB Notification: Performance of Templates: time 0.231/5.995, allocations: 34.75 MB / 3.402 GB, free: 115.1 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1)