Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001174/0.001174, allocations: 180.9 kB / 361.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0007718/0.0007718, allocations: 94.81 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.003e-05, allocations: 4 kB / 0.8518 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6237/0.6238, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9113/1.535, allocations: 398 MB / 1.353 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.535, allocations: 98.75 kB / 1.353 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3257/1.861, allocations: 173.5 MB / 1.523 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.054e-06/1.861, allocations: 4 kB / 1.523 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.739e-05/1.861, allocations: 12 kB / 1.523 GB, free: 8.855 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.001195/1.863, allocations: 0.724 MB / 1.523 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.863, allocations: 12.03 kB / 1.523 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/1.863, allocations: 59.3 kB / 1.523 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/1.863, allocations: 431.6 kB / 1.524 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/1.863, allocations: 8 kB / 1.524 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/1.863, allocations: 16 kB / 1.524 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002414/1.864, allocations: 124.8 kB / 1.524 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/1.864, allocations: 166.4 kB / 1.524 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.864, allocations: 0 / 1.524 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/1.864, allocations: 0 / 1.524 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/1.864, allocations: 7.953 kB / 1.524 GB, free: 7.227 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.001402/1.865, allocations: 0.8832 MB / 1.525 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/1.866, allocations: 122.5 kB / 1.525 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/1.866, allocations: 52.84 kB / 1.525 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/1.866, allocations: 340.7 kB / 1.525 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/1.866, allocations: 30.56 kB / 1.525 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/1.866, allocations: 0 / 1.525 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0004141/1.866, allocations: 174.9 kB / 1.526 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/1.866, allocations: 51.41 kB / 1.526 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/1.867, allocations: 357.3 kB / 1.526 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/1.867, allocations: 29.7 kB / 1.526 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/1.867, allocations: 240.6 kB / 1.526 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/1.867, allocations: 43.3 kB / 1.526 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/1.867, allocations: 4 kB / 1.526 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/1.867, allocations: 346.8 kB / 1.527 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/1.867, allocations: 51.98 kB / 1.527 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/1.867, allocations: 147.1 kB / 1.527 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/1.868, allocations: 73.14 kB / 1.527 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.868, allocations: 0 / 1.527 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003508/1.868, allocations: 224.9 kB / 1.527 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.318e-05/1.868, allocations: 271.8 kB / 1.527 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.868, allocations: 0 / 1.527 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.868, allocations: 4 kB / 1.527 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/1.868, allocations: 56 kB / 1.527 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.868, allocations: 3.953 kB / 1.527 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/1.869, allocations: 35.81 kB / 1.527 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/1.869, allocations: 15.97 kB / 1.527 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/1.869, allocations: 4.938 kB / 1.527 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000286/1.869, allocations: 145.3 kB / 1.528 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/1.869, allocations: 3.984 kB / 1.528 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-06/1.869, allocations: 0 / 1.528 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/1.869, allocations: 47.97 kB / 1.528 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/1.869, allocations: 0 / 1.528 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/1.87, allocations: 39.81 kB / 1.528 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/1.87, allocations: 16 kB / 1.528 GB, free: 3.207 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 8.822e-05/1.87, allocations: 117.4 kB / 1.528 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/1.87, allocations: 35.53 kB / 1.528 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/1.87, allocations: 213 kB / 1.528 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/1.87, allocations: 7.984 kB / 1.528 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.87, allocations: 0 / 1.528 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.87, allocations: 0 / 1.528 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007129/1.871, allocations: 0.623 MB / 1.529 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.871, allocations: 0 / 1.529 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/1.871, allocations: 40.05 kB / 1.529 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.871, allocations: 0 / 1.529 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/1.871, allocations: 7.984 kB / 1.529 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.871, allocations: 0 / 1.529 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.871, allocations: 4 kB / 1.529 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/1.871, allocations: 356.5 kB / 1.529 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.872, allocations: 144.5 kB / 1.529 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/1.872, allocations: 4 kB / 1.529 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/1.872, allocations: 23.97 kB / 1.529 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/1.872, allocations: 15.98 kB / 1.529 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/1.872, allocations: 7.984 kB / 1.529 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002398/1.872, allocations: 279 kB / 1.53 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.872, allocations: 0 / 1.53 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007796/1.873, allocations: 219.5 kB / 1.53 GB, free: 1.004 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.001099/1.874, allocations: 0.5314 MB / 1.53 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003595/1.874, allocations: 234.5 kB / 1.53 GB, free: 320 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.874, allocations: 0 / 1.53 GB, free: 320 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/1.875, allocations: 67.86 kB / 1.531 GB, free: 252 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/1.876, allocations: 199.1 kB / 1.531 GB, free: 56 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/1.877, allocations: 487.8 kB / 1.531 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/1.877, allocations: 0.839 MB / 1.532 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003983/1.878, allocations: 119.1 kB / 1.532 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/1.878, allocations: 23.44 kB / 1.532 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/1.878, allocations: 0 / 1.532 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of Templates: time 0.01482/1.892, allocations: 8.444 MB / 1.54 GB, free: 6.172 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)