Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [: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/Annex60 1.0.0/package.mo): time 0.2852/0.2852, allocations: 54.4 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001175/0.001175, allocations: 188.1 kB / 75.38 MB, free: 1.449 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.417/1.417, allocations: 194.2 MB / 283.2 MB, free: 3.492 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 105.7 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.308e-06/9.328e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7812/0.9029, allocations: 337.5 MB / 0.7814 GB, free: 51.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.9033, allocations: 95.06 kB / 0.7815 GB, free: 51.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.5708/1.474, allocations: 162.3 MB / 0.94 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.581e-05/1.474, allocations: 16 kB / 0.94 GB, free: 111.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002302/1.477, allocations: 0.7724 MB / 0.9408 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.951e-05/1.477, allocations: 11.97 kB / 0.9408 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/1.477, allocations: 67.23 kB / 0.9408 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/1.479, allocations: 428.3 kB / 0.9412 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/1.479, allocations: 11.98 kB / 0.9413 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/1.479, allocations: 20 kB / 0.9413 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003865/1.479, allocations: 157.3 kB / 0.9414 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/1.48, allocations: 315.8 kB / 0.9417 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.48, allocations: 7.984 kB / 0.9417 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/1.48, allocations: 0 / 0.9417 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/1.48, allocations: 15.94 kB / 0.9418 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/1.482, allocations: 1.924 MB / 0.9436 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/1.482, allocations: 116.1 kB / 0.9437 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/1.482, allocations: 38.7 kB / 0.9438 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/1.482, allocations: 4 kB / 0.9438 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.482, allocations: 38.56 kB / 0.9438 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/1.482, allocations: 3.938 kB / 0.9438 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.001125/1.483, allocations: 252.4 kB / 0.9441 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/1.483, allocations: 158.2 kB / 0.9442 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/1.484, allocations: 365.1 kB / 0.9446 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/1.484, allocations: 33.64 kB / 0.9446 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/1.484, allocations: 219.6 kB / 0.9448 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/1.484, allocations: 31.5 kB / 0.9448 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/1.484, allocations: 0 / 0.9448 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/1.484, allocations: 366.8 kB / 0.9452 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/1.484, allocations: 56 kB / 0.9452 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.484, allocations: 231.6 kB / 0.9455 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/1.485, allocations: 87.95 kB / 0.9455 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.485, allocations: 0 / 0.9455 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004194/1.485, allocations: 265 kB / 0.9458 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002488/1.485, allocations: 1.131 MB / 0.9469 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.485, allocations: 4 kB / 0.9469 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.485, allocations: 8 kB / 0.9469 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/1.486, allocations: 95.86 kB / 0.947 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/1.486, allocations: 4 kB / 0.947 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/1.486, allocations: 79.59 kB / 0.9471 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/1.486, allocations: 16 kB / 0.9471 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/1.486, allocations: 4 kB / 0.9471 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002612/1.487, allocations: 164.9 kB / 0.9473 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/1.487, allocations: 0 / 0.9473 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.782e-06/1.487, allocations: 8 kB / 0.9473 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/1.487, allocations: 59.91 kB / 0.9473 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/1.487, allocations: 11.84 kB / 0.9473 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/1.487, allocations: 43.97 kB / 0.9474 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/1.487, allocations: 16 kB / 0.9474 GB, free: 103.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0001114/1.487, allocations: 108.9 kB / 0.9475 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/1.488, allocations: 43.42 kB / 0.9475 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/1.488, allocations: 141.1 kB / 0.9477 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.488, allocations: 0 / 0.9477 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.488, allocations: 4 kB / 0.9477 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.488, allocations: 0 / 0.9477 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/1.489, allocations: 0.5532 MB / 0.9482 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.489, allocations: 0 / 0.9482 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/1.489, allocations: 56.02 kB / 0.9483 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.778e-06/1.489, allocations: 4 kB / 0.9483 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/1.489, allocations: 0 / 0.9483 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.489, allocations: 7.938 kB / 0.9483 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.489, allocations: 7.906 kB / 0.9483 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002428/1.489, allocations: 264.3 kB / 0.9485 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/1.489, allocations: 124.5 kB / 0.9487 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/1.489, allocations: 8 kB / 0.9487 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/1.49, allocations: 55.94 kB / 0.9487 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/1.49, allocations: 7.984 kB / 0.9487 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/1.49, allocations: 8 kB / 0.9487 GB, free: 102 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002348/1.49, allocations: 283.2 kB / 0.949 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008096/1.491, allocations: 223.4 kB / 0.9492 GB, free: 101.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0007434/1.492, allocations: 380.5 kB / 0.9496 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004338/1.492, allocations: 314.3 kB / 0.9499 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.492, allocations: 4.5 kB / 0.9499 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/1.492, allocations: 47.92 kB / 0.9499 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/1.493, allocations: 189.8 kB / 0.9501 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/1.497, allocations: 1.086 MB / 0.9512 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/1.498, allocations: 0.8886 MB / 0.952 GB, free: 98.55 MB / 0.4948 GB Notification: Performance of SimCode: time 2.8e-07/1.498, allocations: 0 / 0.952 GB, free: 98.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.0151/1.513, allocations: 9.095 MB / 0.9609 GB, free: 89.5 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)