Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003332/0.003333, allocations: 187.2 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6481/0.6481, allocations: 130.6 MB / 138.5 MB, free: 2.277 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 391.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009486, allocations: 94.16 kB / 473.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.484e-06, allocations: 2.812 kB / 0.5479 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1514, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9635/1.115, allocations: 358.3 MB / 0.9775 GB, free: 251 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.115, allocations: 93.7 kB / 0.9776 GB, free: 251 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.322/1.437, allocations: 177.8 MB / 1.151 GB, free: 74.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.28e-05/1.437, allocations: 19.92 kB / 1.151 GB, free: 74.52 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001357/1.439, allocations: 0.7396 MB / 1.152 GB, free: 73.73 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.439, allocations: 8.031 kB / 1.152 GB, free: 73.72 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/1.439, allocations: 59.34 kB / 1.152 GB, free: 73.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/1.44, allocations: 429.4 kB / 1.152 GB, free: 73.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.44, allocations: 8 kB / 1.152 GB, free: 73.19 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/1.44, allocations: 16 kB / 1.152 GB, free: 73.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002638/1.44, allocations: 132.8 kB / 1.153 GB, free: 73.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/1.44, allocations: 162.4 kB / 1.153 GB, free: 72.88 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.44, allocations: 0 / 1.153 GB, free: 72.88 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/1.44, allocations: 0 / 1.153 GB, free: 72.88 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.44, allocations: 7.906 kB / 1.153 GB, free: 72.88 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/1.442, allocations: 0.8863 MB / 1.154 GB, free: 71.92 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/1.442, allocations: 110.6 kB / 1.154 GB, free: 71.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/1.442, allocations: 52.84 kB / 1.154 GB, free: 71.75 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/1.442, allocations: 336.4 kB / 1.154 GB, free: 71.35 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/1.442, allocations: 30.56 kB / 1.154 GB, free: 71.31 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/1.442, allocations: 0 / 1.154 GB, free: 71.31 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0004671/1.443, allocations: 178.1 kB / 1.154 GB, free: 71.13 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/1.443, allocations: 55.41 kB / 1.154 GB, free: 71.06 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/1.443, allocations: 361.1 kB / 1.155 GB, free: 70.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/1.443, allocations: 25.7 kB / 1.155 GB, free: 70.67 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/1.443, allocations: 180.3 kB / 1.155 GB, free: 70.49 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/1.443, allocations: 39.36 kB / 1.155 GB, free: 70.45 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/1.443, allocations: 0 / 1.155 GB, free: 70.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/1.444, allocations: 346.8 kB / 1.155 GB, free: 70.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/1.444, allocations: 48 kB / 1.155 GB, free: 70.05 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/1.444, allocations: 157.6 kB / 1.155 GB, free: 69.86 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/1.444, allocations: 75.89 kB / 1.156 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.444, allocations: 4 kB / 1.156 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003812/1.444, allocations: 213 kB / 1.156 GB, free: 69.57 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/1.444, allocations: 273.6 kB / 1.156 GB, free: 69.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/1.444, allocations: 4 kB / 1.156 GB, free: 69.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.445, allocations: 4 kB / 1.156 GB, free: 69.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/1.445, allocations: 59.89 kB / 1.156 GB, free: 69.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/1.445, allocations: 7.875 kB / 1.156 GB, free: 69.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/1.445, allocations: 39.81 kB / 1.156 GB, free: 69.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/1.445, allocations: 12 kB / 1.156 GB, free: 69.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/1.445, allocations: 7.984 kB / 1.156 GB, free: 69.15 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002931/1.446, allocations: 135.9 kB / 1.156 GB, free: 69.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/1.446, allocations: 48 / 1.156 GB, free: 69.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/1.446, allocations: 7.984 kB / 1.156 GB, free: 69.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/1.446, allocations: 55.91 kB / 1.156 GB, free: 68.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/1.446, allocations: 4 kB / 1.156 GB, free: 68.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/1.446, allocations: 39.8 kB / 1.156 GB, free: 68.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/1.446, allocations: 12 kB / 1.156 GB, free: 68.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * 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 8.155e-05/1.446, allocations: 108.9 kB / 1.156 GB, free: 68.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/1.446, allocations: 35.53 kB / 1.157 GB, free: 68.75 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/1.447, allocations: 224.9 kB / 1.157 GB, free: 68.53 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.447, allocations: 7.984 kB / 1.157 GB, free: 68.52 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.447, allocations: 7.906 kB / 1.157 GB, free: 68.52 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.447, allocations: 0 / 1.157 GB, free: 68.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007525/1.448, allocations: 0.6283 MB / 1.157 GB, free: 67.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.448, allocations: 0 / 1.157 GB, free: 67.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/1.448, allocations: 40.09 kB / 1.157 GB, free: 67.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.448, allocations: 4 kB / 1.157 GB, free: 67.79 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.448, allocations: 4 kB / 1.157 GB, free: 67.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.448, allocations: 0 / 1.157 GB, free: 67.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.448, allocations: 3.938 kB / 1.157 GB, free: 67.78 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003448/1.448, allocations: 358.7 kB / 1.158 GB, free: 67.38 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/1.448, allocations: 144.4 kB / 1.158 GB, free: 67.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/1.448, allocations: 4 kB / 1.158 GB, free: 67.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/1.449, allocations: 23.97 kB / 1.158 GB, free: 67.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/1.449, allocations: 23.83 kB / 1.158 GB, free: 67.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.449, allocations: 4 kB / 1.158 GB, free: 67.17 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002378/1.449, allocations: 283.2 kB / 1.158 GB, free: 66.89 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007707/1.45, allocations: 223.6 kB / 1.158 GB, free: 66.68 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001055/1.451, allocations: 0.4902 MB / 1.159 GB, free: 66.26 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003904/1.451, allocations: 238.2 kB / 1.159 GB, free: 66.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.451, allocations: 0 / 1.159 GB, free: 66.02 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-05/1.451, allocations: 71.84 kB / 1.159 GB, free: 65.95 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009677/1.452, allocations: 187.7 kB / 1.159 GB, free: 65.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/1.453, allocations: 0.4928 MB / 1.16 GB, free: 65.24 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/1.454, allocations: 0.8737 MB / 1.161 GB, free: 64.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.142e-06/1.454, allocations: 0 / 1.161 GB, free: 64.34 MB / 0.6667 GB Notification: Performance of Templates: time 0.01353/1.467, allocations: 9.186 MB / 1.17 GB, free: 55.24 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)