Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [: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.337/2.337, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001581/0.001581, allocations: 177.3 kB / 360.4 MB, free: 7.516 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.748/1.748, 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.001183/0.001182, allocations: 96.28 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.262e-05/1.277e-05, allocations: 4 kB / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.6242, allocations: 115.2 MB / 0.9628 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9909/1.615, allocations: 395.8 MB / 1.349 GB, free: 167 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/1.616, allocations: 100.5 kB / 1.349 GB, free: 167 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.8338/2.449, allocations: 235.1 MB / 1.579 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.421e-05/2.449, allocations: 16 kB / 1.579 GB, free: 8.676 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00261/2.452, allocations: 0.9788 MB / 1.58 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/2.452, allocations: 16.45 kB / 1.58 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/2.452, allocations: 79.06 kB / 1.58 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/2.454, allocations: 0.5073 MB / 1.581 GB, free: 7.008 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/2.454, allocations: 12 kB / 1.581 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/2.454, allocations: 32 kB / 1.581 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/2.455, allocations: 361.9 kB / 1.581 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/2.456, allocations: 0.5021 MB / 1.581 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/2.456, allocations: 0 / 1.581 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/2.457, allocations: 4 kB / 1.581 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/2.457, allocations: 12 kB / 1.581 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/2.462, allocations: 3.118 MB / 1.585 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/2.463, allocations: 262.8 kB / 1.585 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/2.463, allocations: 189.8 kB / 1.585 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004299/2.464, allocations: 348.4 kB / 1.585 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/2.464, allocations: 38.59 kB / 1.585 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=38): time 2.835e-06/2.464, allocations: 0 / 1.585 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of matching and sorting (n=38): time 0.004169/2.468, allocations: 0.7124 MB / 1.586 GB, free: 1.102 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/2.468, allocations: 55.41 kB / 1.586 GB, free: 1.035 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008204/2.469, allocations: 430.4 kB / 1.586 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/2.469, allocations: 29.64 kB / 1.586 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/2.469, allocations: 256.2 kB / 1.587 GB, free: 324 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/2.469, allocations: 126.1 kB / 1.587 GB, free: 196 kB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/2.469, allocations: 4 kB / 1.587 GB, free: 192 kB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001877/2.469, allocations: 366.8 kB / 1.587 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/2.47, allocations: 149.3 kB / 1.587 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/2.471, allocations: 327.1 kB / 1.588 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/2.474, allocations: 476.2 kB / 1.588 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/2.474, allocations: 0 / 1.588 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004119/2.478, allocations: 0.8309 MB / 1.589 GB, free: 13.97 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006889/2.478, allocations: 1.744 MB / 1.591 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/2.479, allocations: 4 kB / 1.591 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006813/2.479, allocations: 104.7 kB / 1.591 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/2.48, allocations: 139.8 kB / 1.591 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/2.482, allocations: 0.7396 MB / 1.592 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/2.484, allocations: 99.38 kB / 1.592 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/2.484, allocations: 28.05 kB / 1.592 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/2.484, allocations: 4 kB / 1.592 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00373/2.488, allocations: 0.7077 MB / 1.592 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/2.488, allocations: 4 kB / 1.592 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/2.488, allocations: 8.562 kB / 1.592 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/2.489, allocations: 163.8 kB / 1.593 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/2.489, allocations: 8 kB / 1.593 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/2.49, allocations: 87.53 kB / 1.593 GB, free: 9.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/2.49, allocations: 27.98 kB / 1.593 GB, free: 9.953 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002395/2.49, allocations: 120.8 kB / 1.593 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/2.491, allocations: 55.25 kB / 1.593 GB, free: 9.773 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/2.495, allocations: 0.8288 MB / 1.594 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/2.495, allocations: 4.094 kB / 1.594 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/2.495, allocations: 4 kB / 1.594 GB, free: 8.918 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/2.495, allocations: 7.953 kB / 1.594 GB, free: 8.91 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006204/2.501, allocations: 1.482 MB / 1.595 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/2.502, allocations: 0 / 1.595 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008028/2.502, allocations: 103.9 kB / 1.595 GB, free: 7.27 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006755/2.503, allocations: 120.8 kB / 1.595 GB, free: 7.148 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/2.503, allocations: 4 kB / 1.595 GB, free: 7.145 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/2.505, allocations: 0.7123 MB / 1.596 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/2.505, allocations: 3.938 kB / 1.596 GB, free: 6.402 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004159/2.509, allocations: 0.9164 MB / 1.597 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/2.51, allocations: 184.2 kB / 1.597 GB, free: 5.238 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/2.51, allocations: 7.906 kB / 1.597 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009216/2.511, allocations: 55.88 kB / 1.597 GB, free: 5.176 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/2.511, allocations: 27.95 kB / 1.597 GB, free: 5.148 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/2.511, allocations: 23.98 kB / 1.597 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0006421/2.512, allocations: 318.9 kB / 1.598 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00195/2.514, allocations: 395.2 kB / 1.598 GB, free: 4.43 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001281/2.515, allocations: 421.5 kB / 1.598 GB, free: 4.023 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002801/2.518, allocations: 0.723 MB / 1.599 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/2.518, allocations: 0 / 1.599 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009684/2.519, allocations: 245.4 kB / 1.599 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/2.521, allocations: 235.5 kB / 1.599 GB, free: 2.832 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/2.524, allocations: 0.7554 MB / 1.6 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/2.525, allocations: 0.9901 MB / 1.601 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of SimCode: time 1.062e-06/2.525, allocations: 4 kB / 1.601 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of Templates: time 0.04362/2.569, allocations: 14.21 MB / 1.615 GB, free: 2.949 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)