Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.0008174, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006698/0.006699, allocations: 171.6 kB / 16.27 MB, free: 6.648 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.568/1.568, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.543/1.543, allocations: 252 MB / 0.5105 GB, free: 4.613 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.0005577/0.0005576, allocations: 20 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5217, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01901/0.5407, allocations: 16.96 MB / 0.7453 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.5528, allocations: 7.779 MB / 0.7529 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000852/0.5537, allocations: 19.88 kB / 0.7529 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.5547, allocations: 202.9 kB / 0.7531 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.5572, allocations: 0.5549 MB / 0.7536 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.5597, allocations: 0.6391 MB / 0.7543 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002041/0.5618, allocations: 1.274 MB / 0.7555 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006822/0.5625, allocations: 288.2 kB / 0.7558 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000886/0.5634, allocations: 366.3 kB / 0.7561 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.5641, allocations: 310.6 kB / 0.7564 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.901e-05/0.5642, allocations: 20 kB / 0.7564 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.5658, allocations: 0.6822 MB / 0.7571 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.566, allocations: 119.6 kB / 0.7572 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.5664, allocations: 256.3 kB / 0.7575 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.568, allocations: 0.8489 MB / 0.7583 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.568, allocations: 0 / 0.7583 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.568, allocations: 0 / 0.7583 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.568, allocations: 4 kB / 0.7583 GB, free: 12.88 MB / 0.5762 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.001408/0.5694, allocations: 0.7904 MB / 0.7591 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5695, allocations: 8.031 kB / 0.7591 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.5697, allocations: 60.28 kB / 0.7591 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.5705, allocations: 453.9 kB / 0.7596 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.5706, allocations: 20.56 kB / 0.7596 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.5706, allocations: 35.91 kB / 0.7596 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.5713, allocations: 292.5 kB / 0.7599 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5713, allocations: 0 / 0.7599 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.5713, allocations: 12 kB / 0.7599 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.5713, allocations: 4 kB / 0.7599 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.5719, allocations: 214.1 kB / 0.7601 GB, free: 10.91 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.002027/0.5739, allocations: 1.281 MB / 0.7614 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.5743, allocations: 198.8 kB / 0.7616 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.5745, allocations: 92.81 kB / 0.7617 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.5764, allocations: 1.315 MB / 0.7629 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.5765, allocations: 42.47 kB / 0.763 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/0.5765, allocations: 4 kB / 0.763 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0007247/0.5772, allocations: 286.8 kB / 0.7633 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.5773, allocations: 55.39 kB / 0.7633 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/0.578, allocations: 0.5808 MB / 0.7639 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.578, allocations: 33.7 kB / 0.7639 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.5782, allocations: 256.3 kB / 0.7642 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.5783, allocations: 71.03 kB / 0.7642 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.5784, allocations: 29.7 kB / 0.7642 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5785, allocations: 362.9 kB / 0.7646 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.5788, allocations: 99.75 kB / 0.7647 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.5791, allocations: 203.9 kB / 0.7649 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.5796, allocations: 248.3 kB / 0.7651 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5796, allocations: 0 / 0.7651 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007228/0.5804, allocations: 334.9 kB / 0.7654 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.5805, allocations: 144.1 kB / 0.7656 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5805, allocations: 4 kB / 0.7656 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.5805, allocations: 96 / 0.7656 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.5808, allocations: 79.83 kB / 0.7657 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5808, allocations: 7.938 kB / 0.7657 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.5812, allocations: 55.59 kB / 0.7657 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.5813, allocations: 12 kB / 0.7657 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5813, allocations: 4 kB / 0.7657 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006429/0.582, allocations: 258.8 kB / 0.766 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.582, allocations: 0 / 0.766 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.582, allocations: 4 kB / 0.766 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.5822, allocations: 75.83 kB / 0.7661 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5822, allocations: 4.188 kB / 0.7661 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.5826, allocations: 47.72 kB / 0.7661 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.5826, allocations: 16 kB / 0.7661 GB, free: 4.305 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * 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.0002567/0.5829, allocations: 257 kB / 0.7664 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.583, allocations: 51.34 kB / 0.7664 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.5836, allocations: 302 kB / 0.7667 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.5836, allocations: 0 / 0.7667 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5837, allocations: 4 kB / 0.7667 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5837, allocations: 4 kB / 0.7667 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.5849, allocations: 0.7769 MB / 0.7675 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.585, allocations: 4 kB / 0.7675 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.5851, allocations: 39.92 kB / 0.7675 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.5852, allocations: 4 kB / 0.7675 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.5852, allocations: 4 kB / 0.7675 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5852, allocations: 0 / 0.7675 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5852, allocations: 0 / 0.7675 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.586, allocations: 498 kB / 0.768 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.5862, allocations: 152.4 kB / 0.7681 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.5863, allocations: 15.92 kB / 0.7682 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.5865, allocations: 19.98 kB / 0.7682 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.5866, allocations: 12.05 kB / 0.7682 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.5866, allocations: 12 kB / 0.7682 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005484/0.5872, allocations: 414.8 kB / 0.7686 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5872, allocations: 0 / 0.7686 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008331/0.588, allocations: 235.7 kB / 0.7688 GB, free: 1.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * 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.001284/0.5893, allocations: 0.4947 MB / 0.7693 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008609/0.5902, allocations: 357.7 kB / 0.7696 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5902, allocations: 4 kB / 0.7696 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.5904, allocations: 115.9 kB / 0.7698 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.5919, allocations: 256.3 kB / 0.77 GB, free: 348 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5936, allocations: 1.063 MB / 0.771 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.5941, allocations: 0.8468 MB / 0.7719 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004369/0.5945, allocations: 108.3 kB / 0.772 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.5946, allocations: 43.44 kB / 0.772 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/0.5946, allocations: 0 / 0.772 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.01905/0.6137, allocations: 10.06 MB / 0.7818 GB, free: 4.293 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: