Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.564/1.564, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.0009643/0.0009643, allocations: 186 kB / 371.6 MB, free: 3.387 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.42/1.42, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008186/0.0008186, allocations: 90.59 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.933e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2496, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9498/1.2, allocations: 404.1 MB / 1.374 GB, free: 8.711 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.2, allocations: 99.14 kB / 1.375 GB, free: 8.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8503/2.05, allocations: 174.9 MB / 1.545 GB, free: 224 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.322e-06/2.05, allocations: 0 / 1.545 GB, free: 224 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.496e-05/2.05, allocations: 15.98 kB / 1.545 GB, free: 224 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001001/2.051, allocations: 0.7654 MB / 1.546 GB, free: 223.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/2.051, allocations: 16.03 kB / 1.546 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/2.051, allocations: 63.23 kB / 1.546 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/2.052, allocations: 452.7 kB / 1.547 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/2.052, allocations: 20.56 kB / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/2.052, allocations: 35.94 kB / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/2.053, allocations: 266.3 kB / 1.547 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/2.053, allocations: 0 / 1.547 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/2.053, allocations: 12 kB / 1.547 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/2.053, allocations: 4 kB / 1.547 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/2.053, allocations: 162.2 kB / 1.547 GB, free: 222.1 MB / 0.948 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.001492/2.054, allocations: 1.512 MB / 1.549 GB, free: 220.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/2.054, allocations: 142.7 kB / 1.549 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/2.055, allocations: 68.92 kB / 1.549 GB, free: 220.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/2.056, allocations: 1.308 MB / 1.55 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/2.056, allocations: 42.52 kB / 1.55 GB, free: 218.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/2.056, allocations: 0 / 1.55 GB, free: 218.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0003098/2.056, allocations: 170.6 kB / 1.55 GB, free: 218.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/2.056, allocations: 63.34 kB / 1.55 GB, free: 218.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/2.057, allocations: 0.5085 MB / 1.551 GB, free: 218 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/2.057, allocations: 29.7 kB / 1.551 GB, free: 218 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/2.057, allocations: 271.8 kB / 1.551 GB, free: 217.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/2.057, allocations: 63.17 kB / 1.551 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/2.057, allocations: 4 kB / 1.551 GB, free: 217.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.883e-05/2.057, allocations: 358.8 kB / 1.552 GB, free: 217.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/2.057, allocations: 56.56 kB / 1.552 GB, free: 217.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/2.057, allocations: 209.3 kB / 1.552 GB, free: 216.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/2.057, allocations: 93.86 kB / 1.552 GB, free: 216.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/2.057, allocations: 4 kB / 1.552 GB, free: 216.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003445/2.058, allocations: 280.8 kB / 1.552 GB, free: 216.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/2.058, allocations: 0.9601 MB / 1.553 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/2.058, allocations: 0 / 1.553 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/2.058, allocations: 4 kB / 1.553 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/2.058, allocations: 71.91 kB / 1.553 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/2.058, allocations: 11.92 kB / 1.553 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/2.058, allocations: 47.67 kB / 1.553 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/2.058, allocations: 19.98 kB / 1.553 GB, free: 215.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/2.059, allocations: 3.938 kB / 1.553 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002734/2.059, allocations: 205.9 kB / 1.553 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/2.059, allocations: 4 kB / 1.553 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/2.059, allocations: 4 kB / 1.553 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/2.059, allocations: 67.91 kB / 1.553 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/2.059, allocations: 4 kB / 1.553 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/2.059, allocations: 47.97 kB / 1.554 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/2.059, allocations: 19.98 kB / 1.554 GB, free: 215 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 6.519e-05/2.059, allocations: 124.9 kB / 1.554 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/2.059, allocations: 43.44 kB / 1.554 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/2.06, allocations: 251.3 kB / 1.554 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/2.06, allocations: 0 / 1.554 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/2.06, allocations: 0 / 1.554 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/2.06, allocations: 4 kB / 1.554 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006945/2.061, allocations: 0.7161 MB / 1.555 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/2.061, allocations: 8.125 kB / 1.555 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/2.061, allocations: 27.98 kB / 1.555 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/2.061, allocations: 4 kB / 1.555 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/2.061, allocations: 4 kB / 1.555 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/2.061, allocations: 7.938 kB / 1.555 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/2.061, allocations: 0 / 1.555 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/2.061, allocations: 382.4 kB / 1.555 GB, free: 213.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/2.061, allocations: 156.3 kB / 1.555 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/2.061, allocations: 8 kB / 1.555 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/2.061, allocations: 27.98 kB / 1.555 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/2.062, allocations: 15.91 kB / 1.555 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/2.062, allocations: 11.95 kB / 1.555 GB, free: 213.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003446/2.062, allocations: 401.5 kB / 1.556 GB, free: 212.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/2.062, allocations: 0 / 1.556 GB, free: 212.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008019/2.063, allocations: 267.7 kB / 1.556 GB, free: 212.5 MB / 0.948 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 (17): * Single equations (assignments): 15 * 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.001059/2.064, allocations: 0.5757 MB / 1.556 GB, free: 212 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000433/2.064, allocations: 309.3 kB / 1.557 GB, free: 211.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/2.064, allocations: 3.938 kB / 1.557 GB, free: 211.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.772e-05/2.064, allocations: 71.92 kB / 1.557 GB, free: 211.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/2.065, allocations: 259.1 kB / 1.557 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/2.066, allocations: 0.5671 MB / 1.558 GB, free: 210.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/2.067, allocations: 0.8558 MB / 1.558 GB, free: 209.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000478/2.067, allocations: 184.1 kB / 1.559 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/2.067, allocations: 39.42 kB / 1.559 GB, free: 209.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/2.067, allocations: 0 / 1.559 GB, free: 209.6 MB / 0.948 GB Notification: Performance of Templates: time 0.01572/2.083, allocations: 12.18 MB / 1.571 GB, free: 197.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)