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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.549/2.549, allocations: 287.5 MB / 302.5 MB, free: 8.223 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.001523/0.001523, allocations: 185 kB / 371 MB, free: 10.79 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 2.062/2.062, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 98.97 kB / 0.743 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005077, allocations: 12.23 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2307, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.513, allocations: 396.6 MB / 1.366 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/1.513, allocations: 99.25 kB / 1.366 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.458/2.971, allocations: 236.6 MB / 1.597 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.544e-06/2.971, allocations: 0 / 1.597 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.051e-05/2.971, allocations: 23.94 kB / 1.597 GB, free: 190.8 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.003019/2.974, allocations: 1.079 MB / 1.598 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/2.975, allocations: 12.03 kB / 1.598 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/2.975, allocations: 87.02 kB / 1.598 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/2.976, allocations: 0.515 MB / 1.598 GB, free: 189 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/2.976, allocations: 37 kB / 1.599 GB, free: 189 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/2.976, allocations: 56 kB / 1.599 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/2.978, allocations: 0.6216 MB / 1.599 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/2.978, allocations: 7.938 kB / 1.599 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/2.978, allocations: 19.98 kB / 1.599 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/2.978, allocations: 12 kB / 1.599 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/2.98, allocations: 0.5034 MB / 1.6 GB, free: 187.7 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.005138/2.985, allocations: 3.213 MB / 1.603 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/2.986, allocations: 342.8 kB / 1.603 GB, free: 184 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/2.986, allocations: 352.4 kB / 1.604 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/2.986, allocations: 38.56 kB / 1.604 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 3.196e-06/2.987, allocations: 0 / 1.604 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.003436/2.99, allocations: 0.823 MB / 1.604 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/2.99, allocations: 63.16 kB / 1.604 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008559/2.991, allocations: 0.5071 MB / 1.605 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.836e-05/2.991, allocations: 37.7 kB / 1.605 GB, free: 182 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/2.991, allocations: 324.4 kB / 1.605 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/2.991, allocations: 134.1 kB / 1.605 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/2.991, allocations: 8 kB / 1.605 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001175/2.992, allocations: 378.7 kB / 1.606 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008155/2.992, allocations: 217.1 kB / 1.606 GB, free: 181 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009063/2.993, allocations: 400.3 kB / 1.606 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/2.994, allocations: 252.6 kB / 1.607 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/2.994, allocations: 4 kB / 1.607 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002409/2.997, allocations: 0.7222 MB / 1.607 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000372/2.997, allocations: 1.75 MB / 1.609 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/2.997, allocations: 8 kB / 1.609 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009629/2.998, allocations: 144.8 kB / 1.609 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/3, allocations: 159.8 kB / 1.609 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008952/3, allocations: 0.6265 MB / 1.61 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/3.002, allocations: 111.3 kB / 1.61 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/3.002, allocations: 36.06 kB / 1.61 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/3.002, allocations: 4 kB / 1.61 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002003/3.004, allocations: 0.6072 MB / 1.611 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/3.004, allocations: 8 kB / 1.611 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/3.004, allocations: 11.95 kB / 1.611 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/3.005, allocations: 168.3 kB / 1.611 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/3.005, allocations: 11.94 kB / 1.611 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/3.006, allocations: 95.47 kB / 1.611 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/3.006, allocations: 31.98 kB / 1.611 GB, free: 175.6 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.0004531/3.007, allocations: 265 kB / 1.611 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/3.007, allocations: 59.25 kB / 1.611 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/3.009, allocations: 0.6704 MB / 1.612 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/3.009, allocations: 11.98 kB / 1.612 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/3.009, allocations: 4 kB / 1.612 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/3.009, allocations: 0 / 1.612 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/3.013, allocations: 1.377 MB / 1.613 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/3.013, allocations: 0 / 1.613 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/3.014, allocations: 95.97 kB / 1.613 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006827/3.015, allocations: 132.8 kB / 1.614 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/3.015, allocations: 19.92 kB / 1.614 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008601/3.016, allocations: 0.6381 MB / 1.614 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/3.016, allocations: 0 / 1.614 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/3.018, allocations: 0.7565 MB / 1.615 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/3.018, allocations: 196.1 kB / 1.615 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/3.018, allocations: 11.94 kB / 1.615 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008374/3.019, allocations: 63.88 kB / 1.615 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/3.019, allocations: 35.92 kB / 1.615 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/3.019, allocations: 19.98 kB / 1.615 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000616/3.02, allocations: 391.1 kB / 1.616 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.41e-07/3.02, allocations: 0 / 1.616 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001719/3.022, allocations: 415.4 kB / 1.616 GB, free: 170.3 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.001068/3.023, allocations: 410.3 kB / 1.616 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003268/3.026, allocations: 0.9026 MB / 1.617 GB, free: 169 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/3.026, allocations: 4 kB / 1.617 GB, free: 169 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/3.027, allocations: 295.8 kB / 1.618 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/3.03, allocations: 259.7 kB / 1.618 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/3.032, allocations: 1.28 MB / 1.619 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/3.033, allocations: 0.9236 MB / 1.62 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001002/3.034, allocations: 142.3 kB / 1.62 GB, free: 166 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/3.034, allocations: 63.41 kB / 1.62 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/3.034, allocations: 0 / 1.62 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.03326/3.067, allocations: 12.97 MB / 1.633 GB, free: 153.1 MB / 0.9323 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)