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.008066/0.008066, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001267/0.001267, allocations: 199.7 kB / 16.68 MB, free: 5.93 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.705/1.705, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.573/1.573, allocations: 251.7 MB / 0.5094 GB, free: 3.02 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.001519/0.001519, allocations: 71.89 kB / 0.7258 GB, free: 9.164 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2837, allocations: 104.7 MB / 0.828 GB, free: 364 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01769/0.3014, allocations: 15.72 MB / 0.8434 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.3129, allocations: 7.038 MB / 0.8503 GB, free: 9.523 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007496/0.3137, allocations: 19.88 kB / 0.8503 GB, free: 9.504 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3148, allocations: 270.3 kB / 0.8505 GB, free: 9.238 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001782/0.3166, allocations: 0.6297 MB / 0.8511 GB, free: 8.605 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.3195, allocations: 0.6864 MB / 0.8518 GB, free: 7.926 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002266/0.3218, allocations: 1.033 MB / 0.8528 GB, free: 6.891 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.3229, allocations: 327.9 kB / 0.8531 GB, free: 6.566 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.3243, allocations: 426.2 kB / 0.8535 GB, free: 6.148 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009384/0.3252, allocations: 314.6 kB / 0.8538 GB, free: 5.84 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.3254, allocations: 27.98 kB / 0.8539 GB, free: 5.812 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.3274, allocations: 0.6161 MB / 0.8545 GB, free: 5.195 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.3276, allocations: 95.56 kB / 0.8546 GB, free: 5.102 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.328, allocations: 226.8 kB / 0.8548 GB, free: 4.879 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.3296, allocations: 0.7632 MB / 0.8555 GB, free: 4.113 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3296, allocations: 0 / 0.8555 GB, free: 4.113 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3297, allocations: 0 / 0.8555 GB, free: 4.113 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.3297, allocations: 0 / 0.8555 GB, free: 4.113 MB / 0.67 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.001723/0.3314, allocations: 0.8214 MB / 0.8563 GB, free: 3.242 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3315, allocations: 16.03 kB / 0.8563 GB, free: 3.227 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3316, allocations: 48.38 kB / 0.8564 GB, free: 3.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.3325, allocations: 429 kB / 0.8568 GB, free: 2.719 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3325, allocations: 24.44 kB / 0.8568 GB, free: 2.695 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.3325, allocations: 27.98 kB / 0.8568 GB, free: 2.668 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.333, allocations: 211.2 kB / 0.8571 GB, free: 2.457 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.333, allocations: 0 / 0.8571 GB, free: 2.457 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.333, allocations: 4 kB / 0.8571 GB, free: 2.453 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3331, allocations: 11.94 kB / 0.8571 GB, free: 2.441 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.3334, allocations: 161.6 kB / 0.8572 GB, free: 2.281 MB / 0.67 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.001788/0.3352, allocations: 0.9495 MB / 0.8581 GB, free: 1.254 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.3356, allocations: 130.5 kB / 0.8583 GB, free: 1.117 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.3357, allocations: 72.81 kB / 0.8583 GB, free: 1.043 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003112/0.336, allocations: 336.4 kB / 0.8587 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3361, allocations: 34.56 kB / 0.8587 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3361, allocations: 0 / 0.8587 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of matching and sorting (n=14): time 0.0006801/0.3368, allocations: 238.7 kB / 0.8589 GB, free: 368 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.3368, allocations: 55.41 kB / 0.859 GB, free: 300 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.3374, allocations: 473.9 kB / 0.8594 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.3375, allocations: 33.7 kB / 0.8595 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3377, allocations: 232.6 kB / 0.8597 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.3377, allocations: 39.36 kB / 0.8597 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.3379, allocations: 61.69 kB / 0.8598 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.338, allocations: 354.7 kB / 0.8601 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.3382, allocations: 72.81 kB / 0.8602 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.3385, allocations: 155.5 kB / 0.8603 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.3388, allocations: 165.2 kB / 0.8605 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.3389, allocations: 4 kB / 0.8605 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005421/0.3394, allocations: 257 kB / 0.8607 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3394, allocations: 4 kB / 0.8607 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3395, allocations: 0 / 0.8607 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.3395, allocations: 4 kB / 0.8607 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3397, allocations: 47.91 kB / 0.8608 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.3397, allocations: 0 / 0.8608 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.34, allocations: 39.75 kB / 0.8608 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.3401, allocations: 4 kB / 0.8608 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002858/0.3404, allocations: 200 kB / 0.861 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002493/0.3406, allocations: 160.4 kB / 0.8612 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003124/0.341, allocations: 167.3 kB / 0.8613 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.341, allocations: 0 / 0.8613 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005156/0.3415, allocations: 256.9 kB / 0.8616 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3415, allocations: 11.94 kB / 0.8616 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.3415, allocations: 4.062 kB / 0.8616 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.3415, allocations: 4 kB / 0.8616 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.3417, allocations: 39.97 kB / 0.8616 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3417, allocations: 4 kB / 0.8616 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.342, allocations: 31.88 kB / 0.8617 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.3421, allocations: 15.98 kB / 0.8617 GB, free: 13.38 MB / 0.6856 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.0001333/0.3422, allocations: 196.1 kB / 0.8619 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.3423, allocations: 39.53 kB / 0.8619 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.3428, allocations: 245.2 kB / 0.8621 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3429, allocations: 0 / 0.8621 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3429, allocations: 7.922 kB / 0.8622 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3429, allocations: 0 / 0.8622 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009657/0.3438, allocations: 0.7045 MB / 0.8628 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3439, allocations: 0 / 0.8628 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.344, allocations: 31.97 kB / 0.8629 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.344, allocations: 11.92 kB / 0.8629 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.344, allocations: 8 kB / 0.8629 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.344, allocations: 8.062 kB / 0.8629 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.344, allocations: 4 kB / 0.8629 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.3445, allocations: 337 kB / 0.8632 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.3446, allocations: 136.5 kB / 0.8634 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.3447, allocations: 3.938 kB / 0.8634 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3449, allocations: 15.98 kB / 0.8634 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.345, allocations: 19.86 kB / 0.8634 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.345, allocations: 11.98 kB / 0.8634 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000382/0.3454, allocations: 326.9 kB / 0.8637 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3454, allocations: 0 / 0.8637 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007073/0.3461, allocations: 211.6 kB / 0.8639 GB, free: 10.97 MB / 0.6856 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.001188/0.3473, allocations: 465.8 kB / 0.8644 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006543/0.348, allocations: 279.3 kB / 0.8646 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.348, allocations: 0 / 0.8646 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.3482, allocations: 83.89 kB / 0.8647 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.3491, allocations: 203.9 kB / 0.8649 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3504, allocations: 0.6896 MB / 0.8656 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3508, allocations: 0.827 MB / 0.8664 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002925/0.3511, allocations: 87.55 kB / 0.8665 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.3512, allocations: 39.42 kB / 0.8665 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of SimCode: time 2.21e-07/0.3512, allocations: 0 / 0.8665 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of Templates: time 0.01674/0.368, allocations: 8.569 MB / 0.8749 GB, free: 15.94 MB / 0.7012 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)