Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.972/1.972, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.00112/0.001121, allocations: 178 kB / 371.8 MB, free: 10.26 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.762/1.762, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008591/0.0008589, allocations: 90.92 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004508, allocations: 11.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.251, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.264, allocations: 403.2 MB / 1.373 GB, free: 9.566 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.265, allocations: 106.4 kB / 1.373 GB, free: 9.504 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.9175/2.182, allocations: 175.4 MB / 1.545 GB, free: 244.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.074e-06/2.182, allocations: 0 / 1.545 GB, free: 244.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.821e-05/2.182, allocations: 12 kB / 1.545 GB, free: 244.9 MB / 0.9323 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.001442/2.184, allocations: 0.8647 MB / 1.545 GB, free: 244 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/2.184, allocations: 8.031 kB / 1.546 GB, free: 244 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/2.184, allocations: 63.3 kB / 1.546 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006966/2.185, allocations: 461.3 kB / 1.546 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/2.185, allocations: 24.5 kB / 1.546 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/2.185, allocations: 35.98 kB / 1.546 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/2.185, allocations: 278.3 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/2.185, allocations: 4 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/2.185, allocations: 8 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/2.185, allocations: 8 kB / 1.546 GB, free: 243 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/2.185, allocations: 206 kB / 1.547 GB, free: 242.8 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0017/2.187, allocations: 1.504 MB / 1.548 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/2.187, allocations: 163.4 kB / 1.548 GB, free: 241.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/2.189, allocations: 1.292 MB / 1.549 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/2.189, allocations: 42.5 kB / 1.549 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/2.189, allocations: 4 kB / 1.549 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0005834/2.189, allocations: 258.9 kB / 1.55 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/2.189, allocations: 51.41 kB / 1.55 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/2.19, allocations: 0.5137 MB / 1.55 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/2.19, allocations: 37.64 kB / 1.55 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/2.19, allocations: 276 kB / 1.551 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/2.19, allocations: 51.3 kB / 1.551 GB, free: 238.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/2.19, allocations: 8 kB / 1.551 GB, free: 238.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/2.19, allocations: 358.8 kB / 1.551 GB, free: 238 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/2.19, allocations: 76.52 kB / 1.551 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/2.191, allocations: 233.3 kB / 1.551 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/2.191, allocations: 104.9 kB / 1.551 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/2.191, allocations: 0 / 1.551 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004814/2.191, allocations: 318.7 kB / 1.552 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/2.192, allocations: 0.964 MB / 1.553 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/2.192, allocations: 7.984 kB / 1.553 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/2.192, allocations: 4 kB / 1.553 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/2.192, allocations: 67.91 kB / 1.553 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/2.192, allocations: 7.938 kB / 1.553 GB, free: 236 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/2.192, allocations: 59.56 kB / 1.553 GB, free: 236 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/2.192, allocations: 16 kB / 1.553 GB, free: 236 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/2.192, allocations: 5.25 kB / 1.553 GB, free: 236 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003956/2.193, allocations: 250.3 kB / 1.553 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/2.193, allocations: 0 / 1.553 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/2.193, allocations: 4 kB / 1.553 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/2.193, allocations: 72.09 kB / 1.553 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/2.193, allocations: 4 kB / 1.553 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/2.193, allocations: 43.75 kB / 1.553 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/2.193, allocations: 16 kB / 1.553 GB, free: 235.6 MB / 0.9323 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 () * Number of clocked 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 0.0002137/2.194, allocations: 265 kB / 1.553 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/2.194, allocations: 51.33 kB / 1.553 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/2.194, allocations: 277.5 kB / 1.554 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/2.194, allocations: 4 kB / 1.554 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.194, allocations: 3.938 kB / 1.554 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/2.194, allocations: 0 / 1.554 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/2.195, allocations: 0.7551 MB / 1.554 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/2.195, allocations: 4 kB / 1.554 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/2.195, allocations: 27.98 kB / 1.554 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/2.195, allocations: 4 kB / 1.554 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/2.195, allocations: 8 kB / 1.554 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/2.195, allocations: 7.922 kB / 1.555 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/2.195, allocations: 128 / 1.555 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/2.196, allocations: 415.3 kB / 1.555 GB, free: 233.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/2.196, allocations: 148.5 kB / 1.555 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/2.196, allocations: 8 kB / 1.555 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/2.196, allocations: 27.88 kB / 1.555 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/2.196, allocations: 19.92 kB / 1.555 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/2.196, allocations: 7.953 kB / 1.555 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003566/2.197, allocations: 406.8 kB / 1.555 GB, free: 233 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/2.197, allocations: 0 / 1.555 GB, free: 233 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008821/2.197, allocations: 267.7 kB / 1.556 GB, free: 232.8 MB / 0.9323 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 () * Number of clocked 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.00131/2.199, allocations: 0.6108 MB / 1.556 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006787/2.2, allocations: 346.5 kB / 1.557 GB, free: 232 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.2, allocations: 8.875 kB / 1.557 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/2.2, allocations: 92.08 kB / 1.557 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/2.201, allocations: 251.6 kB / 1.557 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/2.202, allocations: 0.9549 MB / 1.558 GB, free: 230.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/2.202, allocations: 0.8548 MB / 1.559 GB, free: 229.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003417/2.203, allocations: 112.2 kB / 1.559 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/2.203, allocations: 43.42 kB / 1.559 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of SimCode: time 7.11e-07/2.203, allocations: 0 / 1.559 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.01631/2.219, allocations: 11.06 MB / 1.57 GB, free: 218.6 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)