Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8253/0.8253, allocations: 141.8 MB / 149.3 MB, free: 9.191 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 196.6 kB / 182.2 MB, free: 9.414 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008148/0.000815, allocations: 93.73 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001664/0.001664, allocations: 278.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.952e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4499, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8319/1.282, allocations: 356 MB / 1.105 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.282, allocations: 100.1 kB / 1.105 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7886/2.071, allocations: 177.2 MB / 1.278 GB, free: 174.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.502e-06/2.071, allocations: 0 / 1.278 GB, free: 174.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.177e-05/2.071, allocations: 19.98 kB / 1.278 GB, free: 174.6 MB / 0.698 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.001556/2.073, allocations: 0.7396 MB / 1.279 GB, free: 173.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/2.073, allocations: 8.031 kB / 1.279 GB, free: 173.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/2.073, allocations: 55.34 kB / 1.279 GB, free: 173.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008406/2.074, allocations: 423.7 kB / 1.279 GB, free: 173.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/2.074, allocations: 8 kB / 1.279 GB, free: 173.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/2.074, allocations: 20 kB / 1.279 GB, free: 173.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000263/2.074, allocations: 128.8 kB / 1.279 GB, free: 173.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/2.074, allocations: 162.4 kB / 1.28 GB, free: 173 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/2.074, allocations: 0 / 1.28 GB, free: 173 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/2.074, allocations: 0 / 1.28 GB, free: 173 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/2.074, allocations: 4 kB / 1.28 GB, free: 173 MB / 0.698 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.001562/2.076, allocations: 0.8948 MB / 1.281 GB, free: 172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/2.076, allocations: 114.6 kB / 1.281 GB, free: 171.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/2.076, allocations: 60.78 kB / 1.281 GB, free: 171.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/2.077, allocations: 340.4 kB / 1.281 GB, free: 171.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/2.077, allocations: 34.5 kB / 1.281 GB, free: 171.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/2.077, allocations: 0 / 1.281 GB, free: 171.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0004416/2.077, allocations: 166.2 kB / 1.281 GB, free: 171.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/2.077, allocations: 51.41 kB / 1.281 GB, free: 171.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/2.077, allocations: 365.2 kB / 1.282 GB, free: 170.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/2.077, allocations: 29.7 kB / 1.282 GB, free: 170.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/2.078, allocations: 236.6 kB / 1.282 GB, free: 170.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/2.078, allocations: 39.36 kB / 1.282 GB, free: 170.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/2.078, allocations: 3.938 kB / 1.282 GB, free: 170.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/2.078, allocations: 346.8 kB / 1.282 GB, free: 170.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/2.078, allocations: 51.98 kB / 1.282 GB, free: 170.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/2.078, allocations: 157.7 kB / 1.282 GB, free: 169.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/2.078, allocations: 73.36 kB / 1.282 GB, free: 169.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/2.078, allocations: 0 / 1.282 GB, free: 169.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003594/2.078, allocations: 213.6 kB / 1.283 GB, free: 169.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/2.079, allocations: 276.5 kB / 1.283 GB, free: 169.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/2.079, allocations: 4 kB / 1.283 GB, free: 169.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/2.079, allocations: 0 / 1.283 GB, free: 169.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/2.079, allocations: 59.91 kB / 1.283 GB, free: 169.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/2.079, allocations: 0 / 1.283 GB, free: 169.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/2.079, allocations: 35.81 kB / 1.283 GB, free: 169.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/2.079, allocations: 15.94 kB / 1.283 GB, free: 169.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/2.079, allocations: 4 kB / 1.283 GB, free: 169.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002888/2.08, allocations: 143.9 kB / 1.283 GB, free: 169 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/2.08, allocations: 4 kB / 1.283 GB, free: 169 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/2.08, allocations: 3.984 kB / 1.283 GB, free: 169 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/2.08, allocations: 43.92 kB / 1.283 GB, free: 169 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/2.08, allocations: 7.984 kB / 1.283 GB, free: 169 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/2.08, allocations: 39.81 kB / 1.283 GB, free: 168.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/2.08, allocations: 15.98 kB / 1.283 GB, free: 168.9 MB / 0.698 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.989e-05/2.08, allocations: 112.9 kB / 1.283 GB, free: 168.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/2.08, allocations: 47.42 kB / 1.283 GB, free: 168.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/2.081, allocations: 210.7 kB / 1.284 GB, free: 168.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/2.081, allocations: 7.984 kB / 1.284 GB, free: 168.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/2.081, allocations: 4 kB / 1.284 GB, free: 168.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/2.081, allocations: 0 / 1.284 GB, free: 168.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007583/2.082, allocations: 0.6239 MB / 1.284 GB, free: 167.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/2.082, allocations: 0 / 1.284 GB, free: 167.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/2.082, allocations: 40.09 kB / 1.284 GB, free: 167.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/2.082, allocations: 0 / 1.284 GB, free: 167.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/2.082, allocations: 7.938 kB / 1.284 GB, free: 167.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/2.082, allocations: 0 / 1.284 GB, free: 167.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/2.082, allocations: 4 kB / 1.284 GB, free: 167.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/2.082, allocations: 349.2 kB / 1.285 GB, free: 167.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/2.082, allocations: 144.5 kB / 1.285 GB, free: 167.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/2.082, allocations: 4 kB / 1.285 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/2.083, allocations: 27.88 kB / 1.285 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/2.083, allocations: 19.91 kB / 1.285 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/2.083, allocations: 8 kB / 1.285 GB, free: 167.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002582/2.083, allocations: 275 kB / 1.285 GB, free: 166.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/2.083, allocations: 3.938 kB / 1.285 GB, free: 166.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008361/2.084, allocations: 227.6 kB / 1.285 GB, free: 166.7 MB / 0.698 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.001256/2.085, allocations: 0.5295 MB / 1.286 GB, free: 166.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003997/2.085, allocations: 230.2 kB / 1.286 GB, free: 166 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/2.085, allocations: 0 / 1.286 GB, free: 166 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/2.086, allocations: 67.92 kB / 1.286 GB, free: 166 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/2.087, allocations: 183.8 kB / 1.286 GB, free: 165.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/2.088, allocations: 496.7 kB / 1.287 GB, free: 165.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/2.088, allocations: 0.8357 MB / 1.288 GB, free: 164.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000409/2.088, allocations: 119.2 kB / 1.288 GB, free: 164.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/2.088, allocations: 35.42 kB / 1.288 GB, free: 164.2 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/2.088, allocations: 0 / 1.288 GB, free: 164.2 MB / 0.698 GB Notification: Performance of Templates: time 0.0136/2.102, allocations: 8.394 MB / 1.296 GB, free: 155.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)