Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [: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.005942/0.005941, allocations: 173.1 kB / 7.446 MB, free: 2.512 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.395/1.395, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001784/0.001784, allocations: 107.9 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.178/0.178, allocations: 37.98 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.013e-06, allocations: 0 / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.196/6.308, allocations: 2.476 GB / 2.865 GB, free: 18.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004467/6.308, allocations: 86.7 kB / 2.865 GB, free: 18.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.176/7.485, allocations: 208.3 MB / 3.068 GB, free: 59.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.553e-05/7.485, allocations: 7.844 kB / 3.068 GB, free: 59.28 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.006942/7.492, allocations: 1.172 MB / 3.069 GB, free: 58.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/7.492, allocations: 7.938 kB / 3.069 GB, free: 58.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/7.494, allocations: 226.2 kB / 3.07 GB, free: 58.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/7.495, allocations: 386.1 kB / 3.07 GB, free: 58.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/7.495, allocations: 11.47 kB / 3.07 GB, free: 58.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/7.495, allocations: 19.31 kB / 3.07 GB, free: 58.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007669/7.496, allocations: 296.9 kB / 3.07 GB, free: 58.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/7.497, allocations: 375.7 kB / 3.071 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/7.497, allocations: 9.5 kB / 3.071 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/7.497, allocations: 0 / 3.071 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/7.497, allocations: 19.28 kB / 3.071 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008368/7.505, allocations: 3.93 MB / 3.075 GB, free: 55.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/7.506, allocations: 204 kB / 3.075 GB, free: 55.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/7.506, allocations: 119.9 kB / 3.075 GB, free: 55.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1288/7.635, allocations: 50.36 MB / 3.124 GB, free: 28.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/7.635, allocations: 44.34 kB / 3.124 GB, free: 28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.636e-06/7.635, allocations: 0 / 3.124 GB, free: 28 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.002301/7.637, allocations: 491.5 kB / 3.125 GB, free: 27.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/7.637, allocations: 108.4 kB / 3.125 GB, free: 27.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/7.638, allocations: 239.2 kB / 3.125 GB, free: 27.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/7.638, allocations: 25.7 kB / 3.125 GB, free: 27.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/7.638, allocations: 192.5 kB / 3.125 GB, free: 27.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/7.638, allocations: 83.02 kB / 3.125 GB, free: 27.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/7.638, allocations: 0 / 3.125 GB, free: 27.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/7.638, allocations: 347.8 kB / 3.126 GB, free: 27.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/7.639, allocations: 99.66 kB / 3.126 GB, free: 27.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/7.639, allocations: 235.6 kB / 3.126 GB, free: 27.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/7.64, allocations: 187.2 kB / 3.126 GB, free: 27.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/7.64, allocations: 3.938 kB / 3.126 GB, free: 27.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001768/7.642, allocations: 0.5801 MB / 3.127 GB, free: 26.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/7.642, allocations: 3.25 kB / 3.127 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/7.642, allocations: 5.688 kB / 3.127 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/7.642, allocations: 6.438 kB / 3.127 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/7.642, allocations: 112.7 kB / 3.127 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/7.642, allocations: 9.969 kB / 3.127 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/7.643, allocations: 67.91 kB / 3.127 GB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/7.643, allocations: 17.53 kB / 3.127 GB, free: 26.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (40): * Single equations (assignments): 40 * 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.0001454/7.643, allocations: 127.2 kB / 3.127 GB, free: 26.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/7.644, allocations: 188.7 kB / 3.127 GB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/7.646, allocations: 1.68 MB / 3.129 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.695e-05/7.646, allocations: 24.92 kB / 3.129 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/7.646, allocations: 3.281 kB / 3.129 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/7.646, allocations: 0 / 3.129 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/7.649, allocations: 2.21 MB / 3.131 GB, free: 26.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/7.649, allocations: 4.062 kB / 3.131 GB, free: 26.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/7.649, allocations: 84.8 kB / 3.131 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/7.649, allocations: 0 / 3.131 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/7.649, allocations: 7.547 kB / 3.131 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/7.649, allocations: 7.5 kB / 3.131 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/7.649, allocations: 0 / 3.131 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002037/7.651, allocations: 1.388 MB / 3.132 GB, free: 26.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/7.652, allocations: 153.4 kB / 3.133 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/7.652, allocations: 0 / 3.133 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/7.652, allocations: 51.91 kB / 3.133 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/7.652, allocations: 34.27 kB / 3.133 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/7.652, allocations: 9.438 kB / 3.133 GB, free: 25.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00033/7.653, allocations: 228.7 kB / 3.133 GB, free: 25.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008446/7.661, allocations: 1.006 MB / 3.134 GB, free: 25.71 MB / 426.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,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * 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.01178/7.673, allocations: 1.494 MB / 3.135 GB, free: 25.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/7.674, allocations: 0.7061 MB / 3.136 GB, free: 25.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/7.674, allocations: 0 / 3.136 GB, free: 25.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007378/7.675, allocations: 0.6776 MB / 3.137 GB, free: 25.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/7.676, allocations: 172 kB / 3.137 GB, free: 25.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03762/7.714, allocations: 13.98 MB / 3.15 GB, free: 24.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007591/7.715, allocations: 0.9738 MB / 3.151 GB, free: 23.76 MB / 426.7 MB Notification: Performance of SimCode: time 2.554e-06/7.715, allocations: 7.938 kB / 3.151 GB, free: 23.75 MB / 426.7 MB Notification: Performance of Templates: time 0.06477/7.779, allocations: 31.46 MB / 3.182 GB, free: 13.72 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)