Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 184 kB / 327.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 0.5785 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008895/0.0008896, allocations: 96.34 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 15.62 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2292, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8738/1.103, allocations: 389.3 MB / 1.281 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/1.103, allocations: 101 kB / 1.282 GB, free: 9.992 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.8956/1.999, allocations: 229 MB / 1.505 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.592e-06/1.999, allocations: 0 / 1.505 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.04e-05/1.999, allocations: 26.11 kB / 1.505 GB, free: 251.6 MB / 0.8855 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.002105/2.001, allocations: 1.072 MB / 1.506 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/2.001, allocations: 12.03 kB / 1.506 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/2.002, allocations: 83.91 kB / 1.506 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009194/2.002, allocations: 0.5411 MB / 1.507 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/2.003, allocations: 37.38 kB / 1.507 GB, free: 249.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/2.003, allocations: 52.38 kB / 1.507 GB, free: 249.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/2.004, allocations: 0.6265 MB / 1.507 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/2.004, allocations: 3.938 kB / 1.507 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/2.004, allocations: 24 kB / 1.508 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/2.004, allocations: 12 kB / 1.508 GB, free: 249 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/2.004, allocations: 0.5111 MB / 1.508 GB, free: 248.5 MB / 0.8855 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.002858/2.007, allocations: 3.194 MB / 1.511 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/2.008, allocations: 334.8 kB / 1.511 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/2.008, allocations: 232.8 kB / 1.512 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/2.009, allocations: 347.6 kB / 1.512 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/2.009, allocations: 46.56 kB / 1.512 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=38): time 1.794e-06/2.009, allocations: 0 / 1.512 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.00177/2.01, allocations: 0.8298 MB / 1.513 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/2.01, allocations: 59.41 kB / 1.513 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/2.011, allocations: 0.5782 MB / 1.513 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/2.011, allocations: 37.7 kB / 1.514 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/2.011, allocations: 329.2 kB / 1.514 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/2.011, allocations: 128.9 kB / 1.514 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/2.011, allocations: 12 kB / 1.514 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000102/2.012, allocations: 370.8 kB / 1.514 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/2.012, allocations: 213.2 kB / 1.515 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/2.012, allocations: 404.2 kB / 1.515 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/2.013, allocations: 0.5705 MB / 1.515 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/2.013, allocations: 0 / 1.515 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001436/2.015, allocations: 0.7183 MB / 1.516 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/2.015, allocations: 223.5 kB / 1.516 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/2.015, allocations: 4 kB / 1.516 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/2.016, allocations: 152.7 kB / 1.517 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/2.016, allocations: 163.7 kB / 1.517 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005808/2.017, allocations: 0.6188 MB / 1.517 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/2.018, allocations: 115.3 kB / 1.517 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/2.018, allocations: 31.98 kB / 1.517 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/2.018, allocations: 6.5 kB / 1.517 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/2.019, allocations: 0.6189 MB / 1.518 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/2.019, allocations: 7.984 kB / 1.518 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/2.019, allocations: 8 kB / 1.518 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/2.019, allocations: 164.3 kB / 1.518 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/2.019, allocations: 11.98 kB / 1.518 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/2.02, allocations: 95.48 kB / 1.518 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/2.02, allocations: 35.97 kB / 1.518 GB, free: 237.4 MB / 0.8855 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.0003479/2.02, allocations: 268.9 kB / 1.519 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/2.021, allocations: 63.19 kB / 1.519 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/2.022, allocations: 0.6512 MB / 1.519 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/2.022, allocations: 8 kB / 1.519 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/2.022, allocations: 0 / 1.519 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/2.022, allocations: 7.922 kB / 1.519 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/2.024, allocations: 1.368 MB / 1.521 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/2.024, allocations: 7.984 kB / 1.521 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/2.025, allocations: 91.98 kB / 1.521 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/2.025, allocations: 132.8 kB / 1.521 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/2.025, allocations: 23.94 kB / 1.521 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/2.026, allocations: 0.6303 MB / 1.522 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/2.026, allocations: 0 / 1.522 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/2.027, allocations: 0.7316 MB / 1.522 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/2.027, allocations: 204 kB / 1.522 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/2.027, allocations: 8 kB / 1.522 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/2.028, allocations: 59.94 kB / 1.523 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/2.028, allocations: 35.89 kB / 1.523 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/2.028, allocations: 12 kB / 1.523 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003801/2.028, allocations: 395.1 kB / 1.523 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/2.028, allocations: 3.938 kB / 1.523 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001341/2.029, allocations: 423.3 kB / 1.523 GB, free: 232.1 MB / 0.8855 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.0009646/2.03, allocations: 410.3 kB / 1.524 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00196/2.032, allocations: 0.898 MB / 1.525 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/2.032, allocations: 7.938 kB / 1.525 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006165/2.033, allocations: 291.9 kB / 1.525 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/2.034, allocations: 269.6 kB / 1.525 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/2.036, allocations: 1.273 MB / 1.526 GB, free: 229 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/2.037, allocations: 0.9042 MB / 1.527 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006039/2.037, allocations: 149 kB / 1.527 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/2.037, allocations: 63.41 kB / 1.527 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/2.037, allocations: 0 / 1.527 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.02015/2.058, allocations: 13.22 MB / 1.54 GB, free: 214.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)