Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.526/2.526, allocations: 287.5 MB / 303.2 MB, free: 8.191 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.001407/0.001407, allocations: 174.6 kB / 371.8 MB, free: 10.83 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.063/2.063, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009627/0.0009623, allocations: 98.84 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006315/0.0006316, allocations: 16.84 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2073, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.489, allocations: 398.7 MB / 1.369 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/1.49, allocations: 108.2 kB / 1.369 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.217/2.706, allocations: 174.4 MB / 1.539 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.884e-06/2.706, allocations: 0 / 1.539 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.075e-05/2.707, allocations: 19.98 kB / 1.539 GB, free: 251.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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001717/2.708, allocations: 0.8183 MB / 1.54 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/2.708, allocations: 8.031 kB / 1.54 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/2.708, allocations: 52.38 kB / 1.54 GB, free: 250.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/2.709, allocations: 450.5 kB / 1.54 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/2.71, allocations: 24.8 kB / 1.54 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/2.71, allocations: 36.31 kB / 1.54 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/2.71, allocations: 211.4 kB / 1.541 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/2.71, allocations: 0 / 1.541 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/2.71, allocations: 12 kB / 1.541 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/2.71, allocations: 4 kB / 1.541 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00057/2.711, allocations: 177.6 kB / 1.541 GB, free: 249.9 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.002193/2.713, allocations: 0.9458 MB / 1.542 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/2.713, allocations: 138.5 kB / 1.542 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/2.714, allocations: 72.81 kB / 1.542 GB, free: 248.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/2.714, allocations: 344.5 kB / 1.542 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/2.714, allocations: 34.5 kB / 1.542 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 2.775e-06/2.714, allocations: 0 / 1.542 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.000886/2.715, allocations: 253 kB / 1.543 GB, free: 247.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/2.715, allocations: 55.34 kB / 1.543 GB, free: 247.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/2.716, allocations: 462 kB / 1.543 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/2.716, allocations: 37.7 kB / 1.543 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/2.716, allocations: 228.5 kB / 1.543 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/2.716, allocations: 51.3 kB / 1.543 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/2.716, allocations: 4 kB / 1.543 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/2.716, allocations: 354.8 kB / 1.544 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/2.716, allocations: 63.95 kB / 1.544 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/2.717, allocations: 176 kB / 1.544 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/2.717, allocations: 176.8 kB / 1.544 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/2.717, allocations: 0 / 1.544 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00076/2.718, allocations: 260.9 kB / 1.544 GB, free: 246 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/2.718, allocations: 105.2 kB / 1.544 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/2.718, allocations: 0 / 1.544 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/2.718, allocations: 4 kB / 1.544 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/2.719, allocations: 59.84 kB / 1.544 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/2.719, allocations: 4 kB / 1.544 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/2.719, allocations: 51.64 kB / 1.544 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/2.719, allocations: 8 kB / 1.545 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/2.719, allocations: 4 kB / 1.545 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006331/2.72, allocations: 191.7 kB / 1.545 GB, free: 245.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/2.72, allocations: 0 / 1.545 GB, free: 245.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/2.72, allocations: 3.938 kB / 1.545 GB, free: 245.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/2.72, allocations: 55.91 kB / 1.545 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/2.72, allocations: 4 kB / 1.545 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/2.721, allocations: 43.81 kB / 1.545 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/2.721, allocations: 11.98 kB / 1.545 GB, free: 245.5 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003132/2.721, allocations: 237 kB / 1.545 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/2.722, allocations: 47.44 kB / 1.545 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008189/2.722, allocations: 263.1 kB / 1.545 GB, free: 244.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/2.722, allocations: 4 kB / 1.545 GB, free: 244.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/2.722, allocations: 4 kB / 1.545 GB, free: 244.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/2.722, allocations: 0 / 1.545 GB, free: 244.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/2.724, allocations: 0.7122 MB / 1.546 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/2.724, allocations: 4 kB / 1.546 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/2.724, allocations: 31.92 kB / 1.546 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/2.724, allocations: 0 / 1.546 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/2.724, allocations: 7.984 kB / 1.546 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/2.724, allocations: 4 kB / 1.546 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/2.724, allocations: 0 / 1.546 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/2.725, allocations: 355.3 kB / 1.546 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/2.725, allocations: 152.4 kB / 1.547 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/2.725, allocations: 4.188 kB / 1.547 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/2.726, allocations: 27.88 kB / 1.547 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/2.726, allocations: 23.97 kB / 1.547 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/2.726, allocations: 4 kB / 1.547 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004936/2.726, allocations: 334.8 kB / 1.547 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.11e-07/2.726, allocations: 0 / 1.547 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001052/2.727, allocations: 231.7 kB / 1.547 GB, free: 242.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/2.729, allocations: 0.5679 MB / 1.548 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00108/2.73, allocations: 282.1 kB / 1.548 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/2.73, allocations: 0 / 1.548 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002865/2.73, allocations: 95.77 kB / 1.548 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/2.732, allocations: 223.1 kB / 1.548 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/2.734, allocations: 0.8397 MB / 1.549 GB, free: 241 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/2.734, allocations: 0.8194 MB / 1.55 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005101/2.735, allocations: 87.61 kB / 1.55 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/2.735, allocations: 43.42 kB / 1.55 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/2.735, allocations: 0 / 1.55 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.02272/2.758, allocations: 9.332 MB / 1.559 GB, free: 230.8 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)