Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.436/2.436, allocations: 285 MB / 292.5 MB, free: 10.55 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.001491/0.00149, allocations: 176.9 kB / 360.7 MB, free: 7.242 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.947/1.947, allocations: 205.3 MB / 0.6192 GB, free: 12.12 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.001057/0.001057, allocations: 85.36 kB / 0.7322 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.032e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8178, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.296/2.114, allocations: 397.8 MB / 1.352 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/2.114, allocations: 91.56 kB / 1.352 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6082/2.722, allocations: 173.5 MB / 1.521 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.124e-06/2.722, allocations: 0 / 1.521 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.876e-05/2.722, allocations: 19.92 kB / 1.521 GB, free: 10.11 MB / 0.8542 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.001313/2.724, allocations: 0.7396 MB / 1.522 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/2.724, allocations: 8.031 kB / 1.522 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/2.724, allocations: 63.3 kB / 1.522 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009131/2.725, allocations: 419.7 kB / 1.523 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/2.725, allocations: 8 kB / 1.523 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/2.725, allocations: 16 kB / 1.523 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003557/2.725, allocations: 128.8 kB / 1.523 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/2.726, allocations: 158.4 kB / 1.523 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/2.726, allocations: 0 / 1.523 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/2.726, allocations: 11.88 kB / 1.523 GB, free: 8.477 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/2.726, allocations: 12 kB / 1.523 GB, free: 8.465 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.002132/2.728, allocations: 0.8793 MB / 1.524 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/2.728, allocations: 114.5 kB / 1.524 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/2.728, allocations: 52.84 kB / 1.524 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/2.729, allocations: 340.7 kB / 1.524 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/2.729, allocations: 30.56 kB / 1.524 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 3.417e-06/2.729, allocations: 3.984 kB / 1.524 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0005741/2.729, allocations: 169.1 kB / 1.525 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/2.729, allocations: 59.39 kB / 1.525 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/2.73, allocations: 353.3 kB / 1.525 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/2.73, allocations: 25.7 kB / 1.525 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/2.73, allocations: 232.6 kB / 1.525 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/2.73, allocations: 55.28 kB / 1.525 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/2.73, allocations: 0 / 1.525 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/2.73, allocations: 346.8 kB / 1.526 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/2.73, allocations: 48 kB / 1.526 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/2.731, allocations: 149.4 kB / 1.526 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/2.731, allocations: 80.94 kB / 1.526 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/2.731, allocations: 0 / 1.526 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005959/2.731, allocations: 223.2 kB / 1.526 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.907e-05/2.732, allocations: 267 kB / 1.526 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/2.732, allocations: 3.938 kB / 1.526 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/2.732, allocations: 7.953 kB / 1.526 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/2.732, allocations: 47.91 kB / 1.526 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/2.732, allocations: 7.984 kB / 1.526 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/2.733, allocations: 39.81 kB / 1.526 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/2.733, allocations: 15.98 kB / 1.526 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/2.733, allocations: 4 kB / 1.526 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004577/2.733, allocations: 138 kB / 1.527 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/2.733, allocations: 0 / 1.527 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/2.733, allocations: 4 kB / 1.527 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/2.734, allocations: 47.97 kB / 1.527 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/2.734, allocations: 0 / 1.527 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/2.734, allocations: 43.8 kB / 1.527 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/2.734, allocations: 8 kB / 1.527 GB, free: 4.465 MB / 0.8542 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 () * 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 9.482e-05/2.734, allocations: 118.2 kB / 1.527 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/2.734, allocations: 35.53 kB / 1.527 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/2.735, allocations: 221 kB / 1.527 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/2.735, allocations: 4 kB / 1.527 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/2.735, allocations: 0 / 1.527 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/2.735, allocations: 3.984 kB / 1.527 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/2.736, allocations: 0.6231 MB / 1.528 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/2.736, allocations: 4 kB / 1.528 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/2.737, allocations: 35.92 kB / 1.528 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/2.737, allocations: 4 kB / 1.528 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/2.737, allocations: 4 kB / 1.528 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/2.737, allocations: 4 kB / 1.528 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/2.737, allocations: 0 / 1.528 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/2.737, allocations: 357.2 kB / 1.528 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/2.737, allocations: 148.5 kB / 1.528 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/2.737, allocations: 4 kB / 1.528 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/2.738, allocations: 20.16 kB / 1.528 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/2.738, allocations: 11.98 kB / 1.528 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/2.738, allocations: 11.98 kB / 1.528 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004025/2.738, allocations: 282.9 kB / 1.528 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/2.738, allocations: 0 / 1.528 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001033/2.739, allocations: 231.4 kB / 1.529 GB, free: 2.234 MB / 0.8542 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 () * 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.001343/2.741, allocations: 0.5135 MB / 1.529 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000643/2.741, allocations: 232.6 kB / 1.529 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/2.741, allocations: 0 / 1.529 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/2.742, allocations: 75.84 kB / 1.529 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/2.743, allocations: 190.8 kB / 1.53 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/2.745, allocations: 491.5 kB / 1.53 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/2.745, allocations: 0.8352 MB / 1.531 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007275/2.746, allocations: 123.5 kB / 1.531 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/2.746, allocations: 27.38 kB / 1.531 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/2.746, allocations: 0 / 1.531 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02493/2.771, allocations: 8.435 MB / 1.539 GB, free: 7.457 MB / 0.8698 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)