Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.455/1.455, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001051/0.001051, allocations: 177.3 kB / 361.1 MB, free: 7.129 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.181/1.181, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0009482/0.0009481, allocations: 98.64 kB / 0.7326 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.406e-06, allocations: 0 / 0.8511 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6469, allocations: 115.3 MB / 0.9637 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.874/1.521, allocations: 430.1 MB / 1.384 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.521, allocations: 101.8 kB / 1.384 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.55/5.071, allocations: 1.101 GB / 2.484 GB, free: 96.36 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002632/5.072, allocations: 66.86 kB / 2.484 GB, free: 96.35 MB / 0.9792 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.004793/5.076, allocations: 2.303 MB / 2.487 GB, free: 95.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/5.077, allocations: 10.31 kB / 2.487 GB, free: 95.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006714/5.077, allocations: 267.4 kB / 2.487 GB, free: 95.27 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/5.081, allocations: 1.65 MB / 2.489 GB, free: 94.81 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/5.081, allocations: 39.59 kB / 2.489 GB, free: 94.81 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/5.081, allocations: 89.44 kB / 2.489 GB, free: 94.81 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/5.083, allocations: 0.9149 MB / 2.49 GB, free: 94.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/5.084, allocations: 0.9409 MB / 2.49 GB, free: 94.72 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/5.084, allocations: 0 / 2.49 GB, free: 94.72 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/5.084, allocations: 3.562 kB / 2.49 GB, free: 94.72 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/5.084, allocations: 25.41 kB / 2.49 GB, free: 94.72 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007963/5.092, allocations: 5.977 MB / 2.496 GB, free: 92.09 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/5.093, allocations: 0.5719 MB / 2.497 GB, free: 92.05 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/5.094, allocations: 362.6 kB / 2.497 GB, free: 92.05 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/5.094, allocations: 0.5103 MB / 2.498 GB, free: 91.48 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/5.094, allocations: 37.25 kB / 2.498 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=58): time 2.514e-06/5.094, allocations: 3.906 kB / 2.498 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=58): time 0.001608/5.096, allocations: 0.8487 MB / 2.499 GB, free: 91.31 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/5.096, allocations: 57.5 kB / 2.499 GB, free: 91.24 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/5.097, allocations: 1.288 MB / 2.5 GB, free: 91.02 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.562e-05/5.097, allocations: 28.14 kB / 2.5 GB, free: 90.99 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/5.098, allocations: 0.5994 MB / 2.501 GB, free: 90.68 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/5.098, allocations: 193.7 kB / 2.501 GB, free: 90.55 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/5.098, allocations: 8.875 kB / 2.501 GB, free: 90.55 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.959e-05/5.098, allocations: 346 kB / 2.501 GB, free: 90.24 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/5.098, allocations: 397 kB / 2.501 GB, free: 90.24 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/5.099, allocations: 0.7239 MB / 2.502 GB, free: 89.89 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/5.1, allocations: 0.4937 MB / 2.503 GB, free: 89.88 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/5.1, allocations: 3.688 kB / 2.503 GB, free: 89.88 MB / 0.9792 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002062/5.102, allocations: 1.272 MB / 2.504 GB, free: 89.73 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/5.102, allocations: 0.9172 MB / 2.505 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/5.102, allocations: 3.406 kB / 2.505 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/5.102, allocations: 7.125 kB / 2.505 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/5.104, allocations: 285.5 kB / 2.505 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/5.104, allocations: 11.75 kB / 2.505 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/5.106, allocations: 196.8 kB / 2.505 GB, free: 88.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/5.106, allocations: 59.11 kB / 2.505 GB, free: 88.71 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/5.106, allocations: 3.594 kB / 2.505 GB, free: 88.71 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001753/5.108, allocations: 1.005 MB / 2.506 GB, free: 88.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/5.108, allocations: 2.812 kB / 2.506 GB, free: 88.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/5.108, allocations: 7.812 kB / 2.506 GB, free: 88.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/5.109, allocations: 280 kB / 2.507 GB, free: 88.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/5.109, allocations: 10.77 kB / 2.507 GB, free: 88.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/5.111, allocations: 165 kB / 2.507 GB, free: 88.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/5.111, allocations: 56.73 kB / 2.507 GB, free: 88.65 MB / 0.9792 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.0001931/5.111, allocations: 132.6 kB / 2.507 GB, free: 88.54 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/5.111, allocations: 180.8 kB / 2.507 GB, free: 88.44 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/5.113, allocations: 1.048 MB / 2.508 GB, free: 88.35 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/5.113, allocations: 10.25 kB / 2.508 GB, free: 88.35 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/5.113, allocations: 1.312 kB / 2.508 GB, free: 88.35 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/5.113, allocations: 5.547 kB / 2.508 GB, free: 88.35 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/5.116, allocations: 2.213 MB / 2.51 GB, free: 87.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/5.116, allocations: 3.438 kB / 2.51 GB, free: 87.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/5.117, allocations: 140.6 kB / 2.51 GB, free: 87.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/5.117, allocations: 3.875 kB / 2.51 GB, free: 87.98 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/5.117, allocations: 13.47 kB / 2.51 GB, free: 87.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/5.117, allocations: 3.969 kB / 2.51 GB, free: 87.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/5.117, allocations: 0 / 2.51 GB, free: 87.98 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001194/5.118, allocations: 1.094 MB / 2.511 GB, free: 87.53 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/5.119, allocations: 347.8 kB / 2.512 GB, free: 87.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/5.119, allocations: 0 / 2.512 GB, free: 87.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/5.12, allocations: 107.1 kB / 2.512 GB, free: 87.32 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/5.12, allocations: 44.44 kB / 2.512 GB, free: 87.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/5.12, allocations: 26.83 kB / 2.512 GB, free: 87.32 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001038/5.121, allocations: 0.9354 MB / 2.513 GB, free: 87.17 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002436/5.124, allocations: 0.9791 MB / 2.514 GB, free: 87.05 MB / 0.9792 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.001293/5.125, allocations: 1.004 MB / 2.515 GB, free: 86.79 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00211/5.127, allocations: 1.58 MB / 2.516 GB, free: 86.76 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/5.127, allocations: 0 / 2.516 GB, free: 86.76 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004596/5.128, allocations: 385.3 kB / 2.517 GB, free: 86.75 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004765/5.132, allocations: 0.9057 MB / 2.518 GB, free: 86.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/5.136, allocations: 2.248 MB / 2.52 GB, free: 86.03 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/5.137, allocations: 1.606 MB / 2.521 GB, free: 85.29 MB / 0.9792 GB Notification: Performance of SimCode: time 6.11e-07/5.137, allocations: 0 / 2.521 GB, free: 85.29 MB / 0.9792 GB Notification: Performance of Templates: time 0.05847/5.196, allocations: 41.8 MB / 2.562 GB, free: 83.5 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)