Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.012/2.012, allocations: 292.6 MB / 307.6 MB, free: 5.184 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.001247/0.001246, allocations: 176.2 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.277/2.277, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.001047/0.001047, allocations: 91.38 kB / 0.751 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3228, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.863/2.186, allocations: 397.8 MB / 1.377 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/2.187, allocations: 93.69 kB / 1.377 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.498/2.685, allocations: 236.6 MB / 1.608 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.34e-06/2.685, allocations: 7.984 kB / 1.608 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.76e-05/2.685, allocations: 16 kB / 1.608 GB, free: 126.7 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002473/2.687, allocations: 1.088 MB / 1.609 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/2.687, allocations: 12.03 kB / 1.609 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/2.687, allocations: 79.06 kB / 1.609 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009266/2.688, allocations: 0.5146 MB / 1.61 GB, free: 125 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/2.688, allocations: 41 kB / 1.61 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/2.688, allocations: 52 kB / 1.61 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/2.689, allocations: 0.6216 MB / 1.61 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/2.689, allocations: 4 kB / 1.61 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/2.69, allocations: 20 kB / 1.61 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/2.69, allocations: 13.03 kB / 1.61 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/2.69, allocations: 0.5072 MB / 1.611 GB, free: 123.6 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00365/2.694, allocations: 3.213 MB / 1.614 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/2.695, allocations: 347 kB / 1.614 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000383/2.695, allocations: 344.4 kB / 1.615 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/2.695, allocations: 42.56 kB / 1.615 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/2.695, allocations: 0 / 1.615 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.002126/2.697, allocations: 0.8305 MB / 1.615 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/2.697, allocations: 59.34 kB / 1.616 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/2.698, allocations: 0.5071 MB / 1.616 GB, free: 118 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/2.698, allocations: 33.7 kB / 1.616 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/2.698, allocations: 332.4 kB / 1.616 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/2.698, allocations: 126.2 kB / 1.616 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/2.698, allocations: 8 kB / 1.616 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000148/2.699, allocations: 382.7 kB / 1.617 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004463/2.699, allocations: 213.2 kB / 1.617 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/2.7, allocations: 404.2 kB / 1.617 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/2.7, allocations: 248.7 kB / 1.618 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/2.7, allocations: 4 kB / 1.618 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001258/2.701, allocations: 0.7222 MB / 1.618 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004082/2.702, allocations: 1.746 MB / 1.62 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/2.702, allocations: 8 kB / 1.62 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/2.702, allocations: 152.8 kB / 1.62 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/2.703, allocations: 151.8 kB / 1.62 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005331/2.704, allocations: 0.6226 MB / 1.621 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/2.704, allocations: 119.2 kB / 1.621 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/2.704, allocations: 31.98 kB / 1.621 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/2.704, allocations: 4 kB / 1.621 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001089/2.706, allocations: 0.6111 MB / 1.622 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/2.706, allocations: 7.938 kB / 1.622 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/2.706, allocations: 8 kB / 1.622 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/2.706, allocations: 168.3 kB / 1.622 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/2.706, allocations: 8 kB / 1.622 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/2.707, allocations: 99.53 kB / 1.622 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/2.707, allocations: 31.98 kB / 1.622 GB, free: 111.5 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003453/2.707, allocations: 264.9 kB / 1.622 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.878e-05/2.707, allocations: 67.19 kB / 1.622 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/2.709, allocations: 0.6744 MB / 1.623 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/2.709, allocations: 7.953 kB / 1.623 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/2.709, allocations: 0 / 1.623 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/2.709, allocations: 3.984 kB / 1.623 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/2.711, allocations: 1.375 MB / 1.624 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/2.711, allocations: 8.094 kB / 1.624 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/2.711, allocations: 91.88 kB / 1.624 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/2.712, allocations: 132.8 kB / 1.625 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/2.712, allocations: 12 kB / 1.625 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004841/2.712, allocations: 0.6382 MB / 1.625 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/2.712, allocations: 3.938 kB / 1.625 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/2.713, allocations: 0.7448 MB / 1.626 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/2.714, allocations: 200 kB / 1.626 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/2.714, allocations: 12 kB / 1.626 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/2.714, allocations: 55.94 kB / 1.626 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/2.714, allocations: 43.86 kB / 1.626 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/2.714, allocations: 16 kB / 1.626 GB, free: 107 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003847/2.715, allocations: 391.1 kB / 1.627 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.4e-07/2.715, allocations: 0 / 1.627 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001379/2.716, allocations: 423.3 kB / 1.627 GB, free: 106.2 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 () * Number of clocked 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.0007989/2.717, allocations: 422.4 kB / 1.627 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001831/2.719, allocations: 0.9058 MB / 1.628 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/2.719, allocations: 0 / 1.628 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006081/2.719, allocations: 300.2 kB / 1.629 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/2.721, allocations: 271.3 kB / 1.629 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/2.722, allocations: 1.261 MB / 1.63 GB, free: 103 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/2.723, allocations: 0.9236 MB / 1.631 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005983/2.723, allocations: 148.9 kB / 1.631 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/2.723, allocations: 59.41 kB / 1.631 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of SimCode: time 3.51e-07/2.723, allocations: 4 kB / 1.631 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.02034/2.744, allocations: 12.97 MB / 1.644 GB, free: 89.02 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)