Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.552/1.552, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001015/0.001016, allocations: 179.1 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.41/1.41, allocations: 205.2 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.0009067/0.000907, allocations: 89.77 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.329e-05, allocations: 8 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2663, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9231/1.189, allocations: 399.6 MB / 1.37 GB, free: 13.18 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/1.19, allocations: 97.11 kB / 1.37 GB, free: 13.13 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8729/2.063, allocations: 174.8 MB / 1.541 GB, free: 229.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/2.063, allocations: 0 / 1.541 GB, free: 229.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.475e-05/2.063, allocations: 16 kB / 1.541 GB, free: 229.7 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001162/2.064, allocations: 0.7328 MB / 1.542 GB, free: 228.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/2.064, allocations: 12.03 kB / 1.542 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/2.064, allocations: 51.44 kB / 1.542 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000603/2.065, allocations: 432.7 kB / 1.542 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/2.065, allocations: 20.44 kB / 1.542 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/2.065, allocations: 28 kB / 1.542 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/2.065, allocations: 187.3 kB / 1.542 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/2.065, allocations: 0 / 1.542 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/2.065, allocations: 8 kB / 1.542 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/2.065, allocations: 7.938 kB / 1.542 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/2.065, allocations: 137.7 kB / 1.542 GB, free: 228 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.001318/2.067, allocations: 0.9498 MB / 1.543 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/2.067, allocations: 118.5 kB / 1.543 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/2.067, allocations: 56.84 kB / 1.544 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/2.067, allocations: 340.5 kB / 1.544 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/2.067, allocations: 30.56 kB / 1.544 GB, free: 226.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/2.067, allocations: 0 / 1.544 GB, free: 226.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0003092/2.068, allocations: 178.2 kB / 1.544 GB, free: 226.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/2.068, allocations: 51.41 kB / 1.544 GB, free: 226.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/2.068, allocations: 407.8 kB / 1.544 GB, free: 225.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/2.068, allocations: 33.7 kB / 1.544 GB, free: 225.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/2.068, allocations: 228.4 kB / 1.545 GB, free: 225.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/2.068, allocations: 51.2 kB / 1.545 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/2.068, allocations: 3.938 kB / 1.545 GB, free: 225.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/2.068, allocations: 362.7 kB / 1.545 GB, free: 225 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/2.068, allocations: 44 kB / 1.545 GB, free: 225 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/2.069, allocations: 159.1 kB / 1.545 GB, free: 224.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/2.069, allocations: 71.91 kB / 1.545 GB, free: 224.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/2.069, allocations: 0 / 1.545 GB, free: 224.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003076/2.069, allocations: 222.4 kB / 1.546 GB, free: 224.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/2.069, allocations: 265.3 kB / 1.546 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/2.069, allocations: 8 kB / 1.546 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/2.069, allocations: 4.047 kB / 1.546 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/2.069, allocations: 51.91 kB / 1.546 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/2.069, allocations: 0 / 1.546 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/2.07, allocations: 55.7 kB / 1.546 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/2.07, allocations: 15.98 kB / 1.546 GB, free: 224.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/2.07, allocations: 4 kB / 1.546 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002273/2.07, allocations: 139.9 kB / 1.546 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/2.07, allocations: 0 / 1.546 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-06/2.07, allocations: 4 kB / 1.546 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/2.07, allocations: 51.91 kB / 1.546 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/2.07, allocations: 4 kB / 1.546 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/2.071, allocations: 47.72 kB / 1.546 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/2.071, allocations: 11.98 kB / 1.546 GB, free: 223.8 MB / 0.948 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 7.272e-05/2.071, allocations: 120.9 kB / 1.546 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/2.071, allocations: 43.44 kB / 1.546 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/2.071, allocations: 233.2 kB / 1.547 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/2.071, allocations: 4 kB / 1.547 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/2.071, allocations: 0 / 1.547 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/2.071, allocations: 0 / 1.547 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/2.072, allocations: 0.6893 MB / 1.547 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/2.072, allocations: 3.938 kB / 1.547 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/2.072, allocations: 27.98 kB / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/2.072, allocations: 4 kB / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/2.072, allocations: 8 kB / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/2.072, allocations: 0 / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.072, allocations: 0 / 1.547 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/2.072, allocations: 372.1 kB / 1.548 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/2.072, allocations: 144.5 kB / 1.548 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/2.073, allocations: 8 kB / 1.548 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/2.073, allocations: 31.81 kB / 1.548 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/2.073, allocations: 11.98 kB / 1.548 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/2.073, allocations: 4 kB / 1.548 GB, free: 222 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002774/2.073, allocations: 333.6 kB / 1.548 GB, free: 221.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/2.073, allocations: 0 / 1.548 GB, free: 221.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007689/2.074, allocations: 219.8 kB / 1.548 GB, free: 221.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 (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.001058/2.075, allocations: 0.5475 MB / 1.549 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003962/2.075, allocations: 252.7 kB / 1.549 GB, free: 220.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/2.075, allocations: 0 / 1.549 GB, free: 220.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.717e-05/2.075, allocations: 67.92 kB / 1.549 GB, free: 220.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/2.077, allocations: 225.5 kB / 1.549 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/2.077, allocations: 0.498 MB / 1.55 GB, free: 219.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/2.078, allocations: 0.8317 MB / 1.551 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003703/2.078, allocations: 135.5 kB / 1.551 GB, free: 218.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/2.078, allocations: 31.42 kB / 1.551 GB, free: 218.9 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/2.078, allocations: 0 / 1.551 GB, free: 218.9 MB / 0.948 GB Notification: Performance of Templates: time 0.01352/2.092, allocations: 10.36 MB / 1.561 GB, free: 208.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)