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.001611/0.001611, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001498/0.001498, allocations: 191.4 kB / 16.13 MB, free: 6.668 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.648/1.648, allocations: 205.1 MB / 222 MB, free: 4.773 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.467/1.467, allocations: 251.7 MB / 0.5088 GB, free: 3.324 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.001474/0.001475, allocations: 63.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5905, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01814/0.6087, allocations: 15.66 MB / 0.7391 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.6248, allocations: 7.457 MB / 0.7464 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.6263, allocations: 19.81 kB / 0.7464 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.6276, allocations: 226.8 kB / 0.7466 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.6297, allocations: 0.5471 MB / 0.7472 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.632, allocations: 0.6121 MB / 0.7478 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002428/0.6344, allocations: 1.296 MB / 0.749 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.635, allocations: 279.8 kB / 0.7493 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.6361, allocations: 382.2 kB / 0.7496 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.6367, allocations: 322.6 kB / 0.75 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.6367, allocations: 20 kB / 0.75 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.6384, allocations: 0.5847 MB / 0.7505 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.6386, allocations: 91.59 kB / 0.7506 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.6389, allocations: 214.7 kB / 0.7508 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.6404, allocations: 0.7321 MB / 0.7516 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.6404, allocations: 0 / 0.7516 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6404, allocations: 0 / 0.7516 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.6404, allocations: 0 / 0.7516 GB, free: 0.625 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.001973/0.6424, allocations: 0.8174 MB / 0.7524 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.6425, allocations: 12.03 kB / 0.7524 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.6426, allocations: 52.36 kB / 0.7524 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007277/0.6434, allocations: 428.9 kB / 0.7528 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.6434, allocations: 20.44 kB / 0.7528 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.6435, allocations: 28 kB / 0.7529 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.644, allocations: 215.2 kB / 0.7531 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.644, allocations: 0 / 0.7531 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.6441, allocations: 4 kB / 0.7531 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.6441, allocations: 8 kB / 0.7531 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.6445, allocations: 161.6 kB / 0.7532 GB, free: 14.8 MB / 0.5762 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.001693/0.6462, allocations: 0.9456 MB / 0.7542 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.6465, allocations: 130.6 kB / 0.7543 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.6467, allocations: 72.83 kB / 0.7544 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/0.6472, allocations: 336.4 kB / 0.7547 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6472, allocations: 34.56 kB / 0.7547 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.6472, allocations: 0 / 0.7547 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0007525/0.648, allocations: 241 kB / 0.7549 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.648, allocations: 59.41 kB / 0.755 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.6486, allocations: 473.9 kB / 0.7554 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.6487, allocations: 33.7 kB / 0.7555 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.6489, allocations: 224.6 kB / 0.7557 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.649, allocations: 47.36 kB / 0.7557 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.6491, allocations: 61.69 kB / 0.7558 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002676/0.6494, allocations: 354.7 kB / 0.7561 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.6496, allocations: 76.81 kB / 0.7562 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.6499, allocations: 152.7 kB / 0.7564 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.6503, allocations: 164 kB / 0.7565 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6503, allocations: 0 / 0.7565 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005467/0.6509, allocations: 255 kB / 0.7568 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6509, allocations: 4 kB / 0.7568 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6509, allocations: 0 / 0.7568 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.651, allocations: 4 kB / 0.7568 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.6512, allocations: 43.91 kB / 0.7568 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.6513, allocations: 8 kB / 0.7568 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.6516, allocations: 39.81 kB / 0.7569 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.6517, allocations: 19.92 kB / 0.7569 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002965/0.652, allocations: 192 kB / 0.7571 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002465/0.6522, allocations: 168.1 kB / 0.7572 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003215/0.6525, allocations: 175 kB / 0.7574 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.6526, allocations: 0 / 0.7574 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005027/0.6531, allocations: 241.1 kB / 0.7576 GB, free: 10 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.6531, allocations: 4 kB / 0.7576 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.6531, allocations: 4 kB / 0.7576 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.6531, allocations: 0 / 0.7576 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.6533, allocations: 47.91 kB / 0.7577 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.6533, allocations: 8.062 kB / 0.7577 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.6537, allocations: 35.81 kB / 0.7577 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.6537, allocations: 15.98 kB / 0.7577 GB, free: 9.891 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.6538, allocations: 196.1 kB / 0.7579 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.6539, allocations: 39.62 kB / 0.7579 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.6545, allocations: 263.2 kB / 0.7582 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.6545, allocations: 0 / 0.7582 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6545, allocations: 0 / 0.7582 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6545, allocations: 0 / 0.7582 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.6556, allocations: 0.7005 MB / 0.7589 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6556, allocations: 0 / 0.7589 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.6557, allocations: 31.98 kB / 0.7589 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6557, allocations: 0 / 0.7589 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.6557, allocations: 7.938 kB / 0.7589 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.6557, allocations: 12.06 kB / 0.7589 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6558, allocations: 7.984 kB / 0.7589 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.6563, allocations: 338.3 kB / 0.7593 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.6564, allocations: 140.5 kB / 0.7594 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.6565, allocations: 7.938 kB / 0.7594 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.6567, allocations: 19.97 kB / 0.7594 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.6568, allocations: 19.92 kB / 0.7594 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.6568, allocations: 4 kB / 0.7594 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004007/0.6572, allocations: 334.9 kB / 0.7598 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6572, allocations: 0 / 0.7598 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008259/0.658, allocations: 203.6 kB / 0.76 GB, free: 7.469 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 (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.001153/0.6592, allocations: 480.9 kB / 0.7604 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006498/0.6599, allocations: 260.7 kB / 0.7607 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6599, allocations: 0 / 0.7607 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.6601, allocations: 88.25 kB / 0.7607 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.6615, allocations: 223.8 kB / 0.761 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.6631, allocations: 0.8356 MB / 0.7618 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.6635, allocations: 0.8233 MB / 0.7626 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.6639, allocations: 95.38 kB / 0.7627 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.664, allocations: 39.42 kB / 0.7627 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.664, allocations: 11.88 kB / 0.7627 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of Templates: time 0.01596/0.6799, allocations: 8.364 MB / 0.7709 GB, free: 12.46 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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)