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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002747/0.002747, allocations: 193.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.2 MB / 0.5485 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.48 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2913, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02037/0.3117, allocations: 15.63 MB / 0.7981 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.3236, allocations: 7.097 MB / 0.805 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009105/0.3246, allocations: 15.88 kB / 0.8051 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.3259, allocations: 226.9 kB / 0.8053 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.328, allocations: 0.5638 MB / 0.8058 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.3304, allocations: 0.6266 MB / 0.8064 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.332, allocations: 1.029 MB / 0.8074 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006782/0.3327, allocations: 327.8 kB / 0.8078 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.3337, allocations: 410.3 kB / 0.8081 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007565/0.3345, allocations: 326.5 kB / 0.8085 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3346, allocations: 28 kB / 0.8085 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.3361, allocations: 0.6161 MB / 0.8091 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.3363, allocations: 107.6 kB / 0.8092 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.3367, allocations: 226.7 kB / 0.8094 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.3382, allocations: 0.7516 MB / 0.8101 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3382, allocations: 0 / 0.8101 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3382, allocations: 4 kB / 0.8101 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.299e-05/0.3383, allocations: 0 / 0.8101 GB, free: 1.871 MB / 0.6231 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.001849/0.3401, allocations: 0.8251 MB / 0.8109 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.3402, allocations: 12.02 kB / 0.811 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3404, allocations: 56.28 kB / 0.811 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007206/0.3411, allocations: 409.1 kB / 0.8114 GB, free: 500 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.3411, allocations: 20.44 kB / 0.8114 GB, free: 480 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.3412, allocations: 28 kB / 0.8114 GB, free: 452 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.3417, allocations: 211.2 kB / 0.8116 GB, free: 236 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3417, allocations: 0 / 0.8116 GB, free: 236 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3417, allocations: 12 kB / 0.8117 GB, free: 224 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.3417, allocations: 4 kB / 0.8117 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.3421, allocations: 169.6 kB / 0.8118 GB, free: 52 kB / 0.6231 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.001929/0.3441, allocations: 0.9418 MB / 0.8127 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.3444, allocations: 126.6 kB / 0.8129 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.3446, allocations: 76.81 kB / 0.8129 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.3449, allocations: 340.3 kB / 0.8133 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3449, allocations: 30.56 kB / 0.8133 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.3449, allocations: 3.938 kB / 0.8133 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0007127/0.3457, allocations: 237 kB / 0.8135 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.3457, allocations: 59.41 kB / 0.8136 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.3463, allocations: 466 kB / 0.814 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.3463, allocations: 33.7 kB / 0.8141 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.3465, allocations: 232.5 kB / 0.8143 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.3465, allocations: 47.3 kB / 0.8143 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.3466, allocations: 61.55 kB / 0.8144 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3468, allocations: 354.7 kB / 0.8147 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.347, allocations: 76.81 kB / 0.8148 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.3472, allocations: 158.4 kB / 0.8149 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.3476, allocations: 168.9 kB / 0.8151 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3476, allocations: 96 / 0.8151 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006351/0.3482, allocations: 252.9 kB / 0.8153 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3483, allocations: 4 kB / 0.8154 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3483, allocations: 4 kB / 0.8154 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3483, allocations: 0 / 0.8154 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.3485, allocations: 51.97 kB / 0.8154 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3486, allocations: 0 / 0.8154 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.3489, allocations: 47.72 kB / 0.8155 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.349, allocations: 8 kB / 0.8155 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002798/0.3493, allocations: 192 kB / 0.8156 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002631/0.3495, allocations: 161.3 kB / 0.8158 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003437/0.3499, allocations: 171.4 kB / 0.816 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.3499, allocations: 0 / 0.816 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004988/0.3504, allocations: 261 kB / 0.8162 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3504, allocations: 7.984 kB / 0.8162 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3504, allocations: 4 kB / 0.8162 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.3504, allocations: 0 / 0.8162 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.3506, allocations: 43.97 kB / 0.8163 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3507, allocations: 7.875 kB / 0.8163 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.351, allocations: 39.97 kB / 0.8163 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.3511, allocations: 12 kB / 0.8163 GB, free: 11.12 MB / 0.6387 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.3512, allocations: 188.2 kB / 0.8165 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.3513, allocations: 47.42 kB / 0.8165 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.3518, allocations: 255.4 kB / 0.8168 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3519, allocations: 4 kB / 0.8168 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3519, allocations: 0 / 0.8168 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3519, allocations: 3.984 kB / 0.8168 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.3529, allocations: 0.6966 MB / 0.8175 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.3529, allocations: 7.984 kB / 0.8175 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3531, allocations: 27.92 kB / 0.8175 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3531, allocations: 4 kB / 0.8175 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3531, allocations: 3.938 kB / 0.8175 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3531, allocations: 4 kB / 0.8175 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3531, allocations: 4.125 kB / 0.8175 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.3536, allocations: 342.2 kB / 0.8179 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3538, allocations: 136.6 kB / 0.818 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.3539, allocations: 7.938 kB / 0.818 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.3542, allocations: 27.81 kB / 0.818 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.3542, allocations: 11.98 kB / 0.818 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3543, allocations: 8 kB / 0.818 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003599/0.3546, allocations: 334.9 kB / 0.8184 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.583e-06/0.3546, allocations: 0 / 0.8184 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007051/0.3553, allocations: 203.7 kB / 0.8185 GB, free: 8.711 MB / 0.6387 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/0.3566, allocations: 476.9 kB / 0.819 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000708/0.3573, allocations: 270.4 kB / 0.8193 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.3573, allocations: 4 kB / 0.8193 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.3575, allocations: 88.2 kB / 0.8193 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3587, allocations: 218.2 kB / 0.8196 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3601, allocations: 0.8302 MB / 0.8204 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.3607, allocations: 0.8192 MB / 0.8212 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.3611, allocations: 95.17 kB / 0.8213 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.96e-05/0.3612, allocations: 35.44 kB / 0.8213 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.3612, allocations: 4 kB / 0.8213 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of Templates: time 0.01813/0.3793, allocations: 8.445 MB / 0.8295 GB, free: 13.66 MB / 0.6544 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)