Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.466/1.466, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 173.3 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 0.6256 GB, free: 7.461 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008753/0.0008752, allocations: 99.81 kB / 0.7396 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.256e-05/1.258e-05, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6118, allocations: 116.3 MB / 0.9726 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8281/1.44, allocations: 431.1 MB / 1.394 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.44, allocations: 100.3 kB / 1.394 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.143/4.583, allocations: 1.101 GB / 2.494 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002004/4.583, allocations: 73.47 kB / 2.494 GB, free: 113.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004135/4.587, allocations: 2.305 MB / 2.496 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/4.587, allocations: 13.34 kB / 2.496 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/4.588, allocations: 265.9 kB / 2.497 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/4.591, allocations: 1.649 MB / 2.498 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/4.591, allocations: 37.88 kB / 2.498 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/4.591, allocations: 89.34 kB / 2.498 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001475/4.592, allocations: 0.9149 MB / 2.499 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/4.594, allocations: 0.9326 MB / 2.5 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/4.594, allocations: 0 / 2.5 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/4.594, allocations: 6.688 kB / 2.5 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/4.594, allocations: 26.84 kB / 2.5 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007033/4.601, allocations: 5.972 MB / 2.506 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/4.602, allocations: 0.5705 MB / 2.507 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/4.602, allocations: 369.8 kB / 2.507 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/4.603, allocations: 0.5125 MB / 2.508 GB, free: 109 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/4.603, allocations: 35.97 kB / 2.508 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=58): time 2.174e-06/4.603, allocations: 0 / 2.508 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=58): time 0.00161/4.604, allocations: 0.8507 MB / 2.508 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/4.604, allocations: 59.62 kB / 2.508 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/4.606, allocations: 1.283 MB / 2.51 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/4.606, allocations: 31.77 kB / 2.51 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/4.606, allocations: 0.5891 MB / 2.51 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/4.606, allocations: 198.6 kB / 2.511 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/4.607, allocations: 3.75 kB / 2.511 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/4.607, allocations: 349.2 kB / 2.511 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/4.607, allocations: 397.4 kB / 2.511 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/4.608, allocations: 0.7095 MB / 2.512 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008949/4.609, allocations: 0.5073 MB / 2.512 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/4.609, allocations: 0 / 2.512 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002095/4.611, allocations: 1.271 MB / 2.514 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/4.611, allocations: 0.925 MB / 2.515 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/4.611, allocations: 0 / 2.515 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/4.611, allocations: 10.19 kB / 2.515 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/4.613, allocations: 291.3 kB / 2.515 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/4.613, allocations: 7.781 kB / 2.515 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/4.615, allocations: 189.5 kB / 2.515 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/4.615, allocations: 66.02 kB / 2.515 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/4.615, allocations: 6.281 kB / 2.515 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/4.616, allocations: 1.002 MB / 2.516 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/4.616, allocations: 3.406 kB / 2.516 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/4.616, allocations: 7.281 kB / 2.516 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/4.617, allocations: 278.2 kB / 2.516 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/4.618, allocations: 9.875 kB / 2.516 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/4.619, allocations: 164.8 kB / 2.517 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/4.62, allocations: 61.64 kB / 2.517 GB, free: 106.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0002811/4.62, allocations: 134.8 kB / 2.517 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/4.62, allocations: 179.2 kB / 2.517 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/4.622, allocations: 1.043 MB / 2.518 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/4.622, allocations: 11.27 kB / 2.518 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/4.622, allocations: 2.969 kB / 2.518 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/4.622, allocations: 11.17 kB / 2.518 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/4.626, allocations: 2.203 MB / 2.52 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/4.626, allocations: 5.969 kB / 2.52 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/4.627, allocations: 142.9 kB / 2.52 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/4.627, allocations: 3.844 kB / 2.52 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/4.627, allocations: 13.25 kB / 2.52 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/4.627, allocations: 5.344 kB / 2.52 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/4.627, allocations: 5.438 kB / 2.52 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001277/4.628, allocations: 1.092 MB / 2.521 GB, free: 105 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/4.629, allocations: 341.4 kB / 2.522 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/4.629, allocations: 3.531 kB / 2.522 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/4.63, allocations: 111.3 kB / 2.522 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/4.63, allocations: 42.91 kB / 2.522 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/4.63, allocations: 30.14 kB / 2.522 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001217/4.632, allocations: 0.9314 MB / 2.523 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002651/4.634, allocations: 0.9753 MB / 2.524 GB, free: 104.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001339/4.636, allocations: 0.9962 MB / 2.525 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002205/4.638, allocations: 1.574 MB / 2.526 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/4.638, allocations: 6.844 kB / 2.526 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000445/4.638, allocations: 385.7 kB / 2.527 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004292/4.643, allocations: 0.9044 MB / 2.527 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/4.647, allocations: 2.247 MB / 2.53 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/4.649, allocations: 1.602 MB / 2.531 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of SimCode: time 7.62e-07/4.649, allocations: 0 / 2.531 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.0644/4.713, allocations: 41.81 MB / 2.572 GB, free: 100.9 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)