Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003247/0.003247, allocations: 179.3 kB / 7.455 MB, free: 2.188 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.261/1.261, allocations: 194.2 MB / 202.1 MB, free: 8.676 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.001856/0.001856, allocations: 124.6 kB / 247.1 MB, free: 6.398 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.1804/0.1804, allocations: 39.95 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.592e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08542/0.08544, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.241/4.326, allocations: 2.634 GB / 3.071 GB, free: 133.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/4.326, allocations: 87.23 kB / 3.071 GB, free: 133 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.6799/5.006, allocations: 232.2 MB / 3.298 GB, free: 73.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.906e-05/5.006, allocations: 15.53 kB / 3.298 GB, free: 73.07 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004704/5.011, allocations: 1.317 MB / 3.299 GB, free: 72.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/5.011, allocations: 11.41 kB / 3.299 GB, free: 72.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/5.013, allocations: 278.3 kB / 3.3 GB, free: 72.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/5.014, allocations: 422.4 kB / 3.3 GB, free: 71.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/5.014, allocations: 18.78 kB / 3.3 GB, free: 71.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/5.014, allocations: 17.59 kB / 3.3 GB, free: 71.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000516/5.014, allocations: 352.5 kB / 3.3 GB, free: 71.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/5.015, allocations: 418.2 kB / 3.301 GB, free: 71.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/5.015, allocations: 3.844 kB / 3.301 GB, free: 71.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/5.015, allocations: 0 / 3.301 GB, free: 71.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/5.015, allocations: 7.5 kB / 3.301 GB, free: 71.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005577/5.021, allocations: 4.202 MB / 3.305 GB, free: 68.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/5.021, allocations: 224.1 kB / 3.305 GB, free: 68.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/5.021, allocations: 127.4 kB / 3.305 GB, free: 68.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1034/5.125, allocations: 50.53 MB / 3.355 GB, free: 35.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/5.125, allocations: 43.06 kB / 3.355 GB, free: 35.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 2.435e-06/5.125, allocations: 0 / 3.355 GB, free: 35.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.002115/5.127, allocations: 0.5314 MB / 3.355 GB, free: 34.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/5.127, allocations: 110.8 kB / 3.355 GB, free: 34.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/5.127, allocations: 277.9 kB / 3.356 GB, free: 34.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/5.127, allocations: 25.7 kB / 3.356 GB, free: 34.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/5.127, allocations: 211.6 kB / 3.356 GB, free: 33.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/5.127, allocations: 86.75 kB / 3.356 GB, free: 33.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/5.127, allocations: 0 / 3.356 GB, free: 33.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.099e-05/5.127, allocations: 346.8 kB / 3.356 GB, free: 33.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/5.128, allocations: 116 kB / 3.356 GB, free: 33.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/5.128, allocations: 246 kB / 3.357 GB, free: 33.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008966/5.129, allocations: 229.3 kB / 3.357 GB, free: 32.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/5.129, allocations: 8 kB / 3.357 GB, free: 32.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001698/5.131, allocations: 0.645 MB / 3.357 GB, free: 32.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000284/5.131, allocations: 1.489 MB / 3.359 GB, free: 30.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/5.131, allocations: 8 kB / 3.359 GB, free: 30.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/5.131, allocations: 8 kB / 3.359 GB, free: 30.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/5.131, allocations: 127.8 kB / 3.359 GB, free: 30.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/5.131, allocations: 7.938 kB / 3.359 GB, free: 30.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/5.132, allocations: 91.48 kB / 3.359 GB, free: 30.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/5.132, allocations: 19.98 kB / 3.359 GB, free: 30.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/5.132, allocations: 4 kB / 3.359 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/5.133, allocations: 395.6 kB / 3.359 GB, free: 30 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/5.133, allocations: 4 kB / 3.359 GB, free: 30 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/5.133, allocations: 8 kB / 3.36 GB, free: 29.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/5.133, allocations: 124.2 kB / 3.36 GB, free: 29.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/5.133, allocations: 7.938 kB / 3.36 GB, free: 29.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/5.134, allocations: 75.69 kB / 3.36 GB, free: 29.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/5.134, allocations: 20 kB / 3.36 GB, free: 29.77 MB / 490.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 9.647e-05/5.134, allocations: 116.9 kB / 3.36 GB, free: 29.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000515/5.135, allocations: 191.3 kB / 3.36 GB, free: 29.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/5.137, allocations: 1.747 MB / 3.362 GB, free: 27.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/5.137, allocations: 19.97 kB / 3.362 GB, free: 27.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/5.137, allocations: 0 / 3.362 GB, free: 27.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/5.137, allocations: 3.984 kB / 3.362 GB, free: 27.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/5.139, allocations: 2.448 MB / 3.364 GB, free: 25.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/5.139, allocations: 7.938 kB / 3.364 GB, free: 25.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/5.14, allocations: 88 kB / 3.364 GB, free: 25.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/5.14, allocations: 0 / 3.364 GB, free: 25.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/5.14, allocations: 12 kB / 3.364 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/5.14, allocations: 0 / 3.364 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/5.14, allocations: 4 kB / 3.364 GB, free: 25.04 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001808/5.141, allocations: 1.468 MB / 3.366 GB, free: 23.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/5.142, allocations: 212 kB / 3.366 GB, free: 23.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/5.142, allocations: 4 kB / 3.366 GB, free: 23.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/5.142, allocations: 51.95 kB / 3.366 GB, free: 23.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/5.142, allocations: 39.84 kB / 3.366 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/5.142, allocations: 15.98 kB / 3.366 GB, free: 23.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000207/5.143, allocations: 251.2 kB / 3.366 GB, free: 22.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004772/5.147, allocations: 1.143 MB / 3.367 GB, free: 21.79 MB / 490.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.00633/5.154, allocations: 1.574 MB / 3.369 GB, free: 20.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/5.155, allocations: 0.927 MB / 3.37 GB, free: 19.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/5.155, allocations: 0 / 3.37 GB, free: 19.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005072/5.155, allocations: 0.698 MB / 3.37 GB, free: 18.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/5.156, allocations: 161.7 kB / 3.371 GB, free: 18.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/5.193, allocations: 14.49 MB / 3.385 GB, free: 4.184 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007718/5.194, allocations: 0.9984 MB / 3.386 GB, free: 3.156 MB / 490.7 MB Notification: Performance of SimCode: time 2.354e-06/5.194, allocations: 0 / 3.386 GB, free: 3.156 MB / 490.7 MB Notification: Performance of Templates: time 0.2608/5.455, allocations: 34.93 MB / 3.42 GB, free: 116.8 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1)