Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003152/0.003152, allocations: 182.1 kB / 7.458 MB, free: 2.508 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.203/1.203, allocations: 194.2 MB / 202.1 MB, free: 8.672 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.00168/0.00168, allocations: 120.6 kB / 247.1 MB, free: 6.359 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.1493/0.1493, allocations: 39.95 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.083e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.08644, allocations: 54.87 MB / 447.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.451/4.538, allocations: 2.587 GB / 3.024 GB, free: 146.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/4.538, allocations: 81.58 kB / 3.024 GB, free: 146.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.7278/5.266, allocations: 212.2 MB / 3.231 GB, free: 81.69 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.907e-05/5.266, allocations: 10.88 kB / 3.231 GB, free: 81.69 MB / 474.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.005307/5.271, allocations: 1.191 MB / 3.232 GB, free: 81.08 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/5.271, allocations: 7.719 kB / 3.232 GB, free: 81.08 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/5.274, allocations: 238.1 kB / 3.232 GB, free: 81.05 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007443/5.274, allocations: 388.1 kB / 3.233 GB, free: 80.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/5.274, allocations: 13.75 kB / 3.233 GB, free: 80.83 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/5.274, allocations: 19.34 kB / 3.233 GB, free: 80.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005351/5.275, allocations: 303.8 kB / 3.233 GB, free: 80.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/5.276, allocations: 377.8 kB / 3.234 GB, free: 80.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/5.276, allocations: 0 / 3.234 GB, free: 80.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/5.276, allocations: 7.625 kB / 3.234 GB, free: 80.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/5.276, allocations: 7.406 kB / 3.234 GB, free: 80.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006332/5.282, allocations: 3.958 MB / 3.237 GB, free: 77.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/5.282, allocations: 211 kB / 3.238 GB, free: 77.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/5.282, allocations: 122.5 kB / 3.238 GB, free: 77.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1147/5.397, allocations: 50.4 MB / 3.287 GB, free: 50.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/5.397, allocations: 41.97 kB / 3.287 GB, free: 49.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 3.917e-06/5.397, allocations: 3.938 kB / 3.287 GB, free: 49.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.00218/5.399, allocations: 494.5 kB / 3.287 GB, free: 49.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/5.399, allocations: 105.8 kB / 3.288 GB, free: 49.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/5.4, allocations: 236.3 kB / 3.288 GB, free: 49.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/5.4, allocations: 31.14 kB / 3.288 GB, free: 49.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/5.4, allocations: 192.6 kB / 3.288 GB, free: 49.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-05/5.4, allocations: 80.78 kB / 3.288 GB, free: 49.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/5.4, allocations: 0 / 3.288 GB, free: 49.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/5.4, allocations: 342.8 kB / 3.288 GB, free: 49.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/5.4, allocations: 99.69 kB / 3.288 GB, free: 49.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/5.401, allocations: 226.6 kB / 3.289 GB, free: 49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/5.402, allocations: 194.4 kB / 3.289 GB, free: 48.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/5.402, allocations: 1.781 kB / 3.289 GB, free: 48.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00181/5.403, allocations: 0.5839 MB / 3.289 GB, free: 48.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/5.403, allocations: 5.375 kB / 3.289 GB, free: 48.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/5.403, allocations: 6.625 kB / 3.289 GB, free: 48.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/5.403, allocations: 5.562 kB / 3.289 GB, free: 48.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/5.404, allocations: 113.1 kB / 3.29 GB, free: 48.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/5.404, allocations: 4.844 kB / 3.29 GB, free: 48.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/5.404, allocations: 71.67 kB / 3.29 GB, free: 48.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/5.405, allocations: 22.55 kB / 3.29 GB, free: 48.88 MB / 474.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.0001172/5.405, allocations: 123.7 kB / 3.29 GB, free: 48.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006457/5.405, allocations: 185.2 kB / 3.29 GB, free: 48.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/5.408, allocations: 1.678 MB / 3.292 GB, free: 48.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/5.408, allocations: 21.97 kB / 3.292 GB, free: 48.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/5.408, allocations: 0 / 3.292 GB, free: 48.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/5.408, allocations: 0 / 3.292 GB, free: 48.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/5.41, allocations: 2.221 MB / 3.294 GB, free: 47.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/5.41, allocations: 0 / 3.294 GB, free: 47.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/5.41, allocations: 82.34 kB / 3.294 GB, free: 47.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/5.41, allocations: 3.156 kB / 3.294 GB, free: 47.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/5.41, allocations: 7.625 kB / 3.294 GB, free: 47.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/5.41, allocations: 2.125 kB / 3.294 GB, free: 47.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/5.41, allocations: 0 / 3.294 GB, free: 47.04 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002028/5.412, allocations: 1.386 MB / 3.295 GB, free: 46.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/5.413, allocations: 156.1 kB / 3.295 GB, free: 46.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/5.413, allocations: 3.438 kB / 3.295 GB, free: 46.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/5.413, allocations: 52.27 kB / 3.295 GB, free: 46.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/5.413, allocations: 37.92 kB / 3.295 GB, free: 46.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/5.414, allocations: 11.88 kB / 3.296 GB, free: 46.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002578/5.414, allocations: 225.7 kB / 3.296 GB, free: 46.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006565/5.42, allocations: 0.9995 MB / 3.297 GB, free: 45.93 MB / 474.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.009554/5.43, allocations: 1.501 MB / 3.298 GB, free: 45.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/5.431, allocations: 0.7029 MB / 3.299 GB, free: 45.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/5.431, allocations: 1.969 kB / 3.299 GB, free: 45.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/5.432, allocations: 0.6804 MB / 3.3 GB, free: 44.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/5.433, allocations: 159.9 kB / 3.3 GB, free: 44.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/5.472, allocations: 14.4 MB / 3.314 GB, free: 35.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006779/5.472, allocations: 0.9634 MB / 3.315 GB, free: 34.73 MB / 474.7 MB Notification: Performance of SimCode: time 5.81e-07/5.472, allocations: 0 / 3.315 GB, free: 34.73 MB / 474.7 MB Notification: Performance of Templates: time 0.04395/5.516, allocations: 31.7 MB / 3.346 GB, free: 6.52 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)