Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0007905/0.0007905, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001251/0.001251, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.57/1.57, allocations: 252 MB / 0.5102 GB, free: 4.816 MB / 414.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.0006066/0.0006069, allocations: 19.98 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6008/0.6014, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01666/0.6182, allocations: 14.37 MB / 0.7422 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.6289, allocations: 6.693 MB / 0.7487 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000744/0.6297, allocations: 19.88 kB / 0.7487 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009783/0.6307, allocations: 194.9 kB / 0.7489 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.6322, allocations: 493.4 kB / 0.7494 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.634, allocations: 0.5826 MB / 0.7499 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.6354, allocations: 1.118 MB / 0.751 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.6358, allocations: 250.5 kB / 0.7513 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005609/0.6364, allocations: 358.4 kB / 0.7516 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.6368, allocations: 290.7 kB / 0.7519 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.6369, allocations: 19.94 kB / 0.7519 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.638, allocations: 0.5341 MB / 0.7524 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.6381, allocations: 87.59 kB / 0.7525 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.6383, allocations: 105.5 kB / 0.7526 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006914/0.639, allocations: 0.5105 MB / 0.7531 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.639, allocations: 0 / 0.7531 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.639, allocations: 0 / 0.7531 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.639, allocations: 0 / 0.7531 GB, free: 1.77 MB / 0.5606 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.001336/0.6403, allocations: 0.7396 MB / 0.7538 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.6404, allocations: 12.03 kB / 0.7539 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.6405, allocations: 55.3 kB / 0.7539 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.6411, allocations: 393 kB / 0.7543 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.6411, allocations: 20.44 kB / 0.7543 GB, free: 480 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.6412, allocations: 28 kB / 0.7543 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.6416, allocations: 215.2 kB / 0.7545 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6416, allocations: 0 / 0.7545 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.6417, allocations: 15.94 kB / 0.7545 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.6417, allocations: 4 kB / 0.7546 GB, free: 212 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.642, allocations: 173.6 kB / 0.7547 GB, free: 40 kB / 0.5606 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.001472/0.6435, allocations: 0.9497 MB / 0.7556 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.6438, allocations: 134.6 kB / 0.7558 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.6439, allocations: 76.75 kB / 0.7558 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.6442, allocations: 340.4 kB / 0.7562 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6443, allocations: 42.5 kB / 0.7562 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.6443, allocations: 0 / 0.7562 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0005811/0.6449, allocations: 253 kB / 0.7565 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.6449, allocations: 55.41 kB / 0.7565 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.6455, allocations: 462 kB / 0.7569 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.6455, allocations: 29.7 kB / 0.757 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.6457, allocations: 228.6 kB / 0.7572 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.6457, allocations: 51.33 kB / 0.7572 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.6457, allocations: 4 kB / 0.7572 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6459, allocations: 358.8 kB / 0.7576 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.6461, allocations: 67.95 kB / 0.7577 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.6463, allocations: 151.6 kB / 0.7578 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.6465, allocations: 87.91 kB / 0.7579 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6465, allocations: 0 / 0.7579 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004605/0.647, allocations: 255.2 kB / 0.7581 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.647, allocations: 110.7 kB / 0.7582 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.647, allocations: 3.938 kB / 0.7582 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6471, allocations: 0 / 0.7582 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.6473, allocations: 56.06 kB / 0.7583 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.6473, allocations: 3.938 kB / 0.7583 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.6476, allocations: 47.66 kB / 0.7583 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.6477, allocations: 8 kB / 0.7583 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/0.6477, allocations: 8 kB / 0.7584 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003801/0.6481, allocations: 198.4 kB / 0.7585 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.6481, allocations: 0 / 0.7585 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.6481, allocations: 3.938 kB / 0.7585 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.6483, allocations: 51.97 kB / 0.7586 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.6483, allocations: 0 / 0.7586 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.6486, allocations: 43.72 kB / 0.7586 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.6486, allocations: 12 kB / 0.7586 GB, free: 11.75 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.6488, allocations: 237 kB / 0.7589 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.6488, allocations: 47.48 kB / 0.7589 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.6494, allocations: 260.9 kB / 0.7592 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6494, allocations: 11.94 kB / 0.7592 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6494, allocations: 0 / 0.7592 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6494, allocations: 3.984 kB / 0.7592 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.6503, allocations: 0.699 MB / 0.7599 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6504, allocations: 0 / 0.7599 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.6505, allocations: 31.97 kB / 0.7599 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.6505, allocations: 4 kB / 0.7599 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.6505, allocations: 4 kB / 0.7599 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6505, allocations: 0 / 0.7599 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6505, allocations: 3.938 kB / 0.7599 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.651, allocations: 354.4 kB / 0.7602 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.6511, allocations: 144.5 kB / 0.7604 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.6512, allocations: 7.984 kB / 0.7604 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.6514, allocations: 27.83 kB / 0.7604 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.6515, allocations: 19.92 kB / 0.7604 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.6515, allocations: 8 kB / 0.7604 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003448/0.6519, allocations: 322.9 kB / 0.7608 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6519, allocations: 4 kB / 0.7608 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006338/0.6525, allocations: 199.7 kB / 0.7609 GB, free: 9.258 MB / 0.5762 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 (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.001062/0.6536, allocations: 482.8 kB / 0.7614 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005908/0.6542, allocations: 275.1 kB / 0.7617 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.6542, allocations: 4 kB / 0.7617 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.6544, allocations: 87.88 kB / 0.7618 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.6556, allocations: 239.3 kB / 0.762 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.6568, allocations: 0.8154 MB / 0.7628 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.6572, allocations: 0.8272 MB / 0.7636 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002766/0.6575, allocations: 87.17 kB / 0.7637 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.6576, allocations: 35.42 kB / 0.7637 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6576, allocations: 0 / 0.7637 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of Templates: time 0.01432/0.6719, allocations: 8.111 MB / 0.7716 GB, free: 14.52 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: