Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.475/2.475, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 189.2 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 93.8 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.445e-05/1.464e-05, allocations: 4 kB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.619, allocations: 115.2 MB / 0.9628 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.714, allocations: 397.7 MB / 1.351 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.714, allocations: 95.94 kB / 1.351 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.861/3.575, allocations: 408.6 MB / 1.75 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.738e-05/3.575, allocations: 29.62 kB / 1.75 GB, free: 206.1 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002444/3.578, allocations: 1.045 MB / 1.751 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/3.578, allocations: 8.281 kB / 1.751 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/3.578, allocations: 95.22 kB / 1.751 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/3.58, allocations: 0.5757 MB / 1.752 GB, free: 204.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/3.58, allocations: 19.09 kB / 1.752 GB, free: 204.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/3.58, allocations: 34.09 kB / 1.752 GB, free: 204.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008517/3.581, allocations: 246.3 kB / 1.752 GB, free: 204.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000879/3.582, allocations: 305.7 kB / 1.753 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/3.582, allocations: 0 / 1.753 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/3.582, allocations: 4.938 kB / 1.753 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/3.582, allocations: 11.62 kB / 1.753 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/3.586, allocations: 1.777 MB / 1.754 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/3.586, allocations: 151.5 kB / 1.754 GB, free: 203 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/3.586, allocations: 68.69 kB / 1.755 GB, free: 203 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003504/3.587, allocations: 340.2 kB / 1.755 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/3.587, allocations: 40.47 kB / 1.755 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 3.216e-06/3.587, allocations: 0 / 1.755 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0008676/3.588, allocations: 215 kB / 1.755 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/3.588, allocations: 54.38 kB / 1.755 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/3.589, allocations: 477.5 kB / 1.756 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.723e-05/3.589, allocations: 28.39 kB / 1.756 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/3.589, allocations: 280.7 kB / 1.756 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/3.589, allocations: 67.28 kB / 1.756 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/3.589, allocations: 0 / 1.756 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001098/3.589, allocations: 369.2 kB / 1.756 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/3.589, allocations: 79.72 kB / 1.756 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/3.59, allocations: 207.8 kB / 1.757 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/3.59, allocations: 109.6 kB / 1.757 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/3.59, allocations: 6.312 kB / 1.757 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001043/3.591, allocations: 336.6 kB / 1.757 GB, free: 201 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.013e-05/3.591, allocations: 268 kB / 1.757 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/3.591, allocations: 2.688 kB / 1.757 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/3.591, allocations: 9.375 kB / 1.757 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/3.593, allocations: 145.4 kB / 1.757 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/3.595, allocations: 2.398 MB / 1.76 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/3.596, allocations: 79.08 kB / 1.76 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/3.596, allocations: 17.25 kB / 1.76 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/3.596, allocations: 2.188 kB / 1.76 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008238/3.597, allocations: 231.1 kB / 1.76 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/3.597, allocations: 0 / 1.76 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/3.597, allocations: 2.125 kB / 1.76 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008814/3.598, allocations: 106.9 kB / 1.76 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/3.598, allocations: 2.25 kB / 1.76 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/3.599, allocations: 69.97 kB / 1.76 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/3.599, allocations: 18.52 kB / 1.76 GB, free: 198.1 MB / 0.9323 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001679/3.6, allocations: 113.3 kB / 1.76 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/3.6, allocations: 56.38 kB / 1.76 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/3.601, allocations: 279.3 kB / 1.761 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/3.601, allocations: 2.719 kB / 1.761 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/3.601, allocations: 0 / 1.761 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/3.601, allocations: 3.984 kB / 1.761 GB, free: 197.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/3.603, allocations: 0.7705 MB / 1.761 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/3.603, allocations: 10.72 kB / 1.761 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/3.603, allocations: 79.75 kB / 1.762 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/3.603, allocations: 0 / 1.762 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/3.604, allocations: 9.453 kB / 1.762 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/3.605, allocations: 2.366 MB / 1.764 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/3.605, allocations: 5.844 kB / 1.764 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007866/3.605, allocations: 402.6 kB / 1.764 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/3.606, allocations: 165.5 kB / 1.764 GB, free: 194.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/3.606, allocations: 6.875 kB / 1.764 GB, free: 194.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008192/3.607, allocations: 55.72 kB / 1.764 GB, free: 194.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/3.607, allocations: 18.75 kB / 1.764 GB, free: 194.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/3.607, allocations: 6.5 kB / 1.764 GB, free: 194.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0006111/3.607, allocations: 361 kB / 1.765 GB, free: 194 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001606/3.609, allocations: 392.8 kB / 1.765 GB, free: 193.9 MB / 0.9323 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/3.61, allocations: 475 kB / 1.766 GB, free: 193.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002856/3.613, allocations: 442.1 kB / 1.766 GB, free: 193.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/3.613, allocations: 0 / 1.766 GB, free: 193.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007359/3.614, allocations: 121.8 kB / 1.766 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/3.617, allocations: 289.7 kB / 1.766 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/3.62, allocations: 0.7426 MB / 1.767 GB, free: 193 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006352/3.62, allocations: 1.003 MB / 1.768 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.102e-06/3.62, allocations: 0 / 1.768 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.03992/3.66, allocations: 13.37 MB / 1.781 GB, free: 182.6 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)