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.008429/0.008429, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001678/0.001679, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.579/1.579, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.635/1.635, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001698/0.001698, allocations: 63.91 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2865, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01748/0.304, allocations: 15.71 MB / 0.8434 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.3156, allocations: 7.046 MB / 0.8503 GB, free: 9.359 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.3172, allocations: 19.81 kB / 0.8503 GB, free: 9.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.3187, allocations: 250.4 kB / 0.8505 GB, free: 9.094 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.002227/0.321, allocations: 0.6101 MB / 0.8511 GB, free: 8.48 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.3232, allocations: 0.6903 MB / 0.8518 GB, free: 7.797 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.325, allocations: 1.032 MB / 0.8528 GB, free: 6.766 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005923/0.3256, allocations: 327.8 kB / 0.8531 GB, free: 6.441 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.3265, allocations: 414.3 kB / 0.8535 GB, free: 6.035 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.3269, allocations: 314.6 kB / 0.8538 GB, free: 5.727 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.327, allocations: 28 kB / 0.8538 GB, free: 5.699 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.3284, allocations: 0.6122 MB / 0.8544 GB, free: 5.086 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.3286, allocations: 103.6 kB / 0.8545 GB, free: 4.984 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.3288, allocations: 222.8 kB / 0.8547 GB, free: 4.766 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.3301, allocations: 0.7627 MB / 0.8555 GB, free: 4 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3301, allocations: 4 kB / 0.8555 GB, free: 3.996 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3301, allocations: 0 / 0.8555 GB, free: 3.996 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.3301, allocations: 0 / 0.8555 GB, free: 3.996 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.00137/0.3315, allocations: 0.836 MB / 0.8563 GB, free: 3.109 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.3316, allocations: 8.031 kB / 0.8563 GB, free: 3.102 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3317, allocations: 60.61 kB / 0.8564 GB, free: 3.043 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007337/0.3324, allocations: 433.5 kB / 0.8568 GB, free: 2.578 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.3325, allocations: 24.42 kB / 0.8568 GB, free: 2.555 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.3325, allocations: 32 kB / 0.8568 GB, free: 2.523 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.333, allocations: 215.1 kB / 0.857 GB, free: 2.309 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.333, allocations: 4 kB / 0.8571 GB, free: 2.305 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.333, allocations: 12 kB / 0.8571 GB, free: 2.293 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3331, allocations: 4 kB / 0.8571 GB, free: 2.289 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.3335, allocations: 165.6 kB / 0.8572 GB, free: 2.125 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.001617/0.3351, allocations: 0.9343 MB / 0.8581 GB, free: 1.113 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.3354, allocations: 126.6 kB / 0.8583 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.3356, allocations: 72.75 kB / 0.8583 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003918/0.336, allocations: 340.5 kB / 0.8587 GB, free: 0.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.3361, allocations: 42.56 kB / 0.8587 GB, free: 460 kB / 0.67 GB Notification: Performance of pre-optimization done (n=14): time 2.695e-06/0.3361, allocations: 7.938 kB / 0.8587 GB, free: 452 kB / 0.67 GB Notification: Performance of matching and sorting (n=14): time 0.0007718/0.3368, allocations: 229.3 kB / 0.8589 GB, free: 216 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.3369, allocations: 55.41 kB / 0.859 GB, free: 148 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006153/0.3375, allocations: 466 kB / 0.8594 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.3376, allocations: 33.7 kB / 0.8594 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.3378, allocations: 232.7 kB / 0.8597 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.3379, allocations: 55.59 kB / 0.8597 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.338, allocations: 53.7 kB / 0.8598 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.3383, allocations: 362.7 kB / 0.8601 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.3385, allocations: 68.81 kB / 0.8602 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.3388, allocations: 158.6 kB / 0.8603 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.3392, allocations: 161.2 kB / 0.8605 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3392, allocations: 0 / 0.8605 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005718/0.3398, allocations: 257.1 kB / 0.8607 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.3398, allocations: 12 kB / 0.8607 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3398, allocations: 0 / 0.8607 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.3398, allocations: 0 / 0.8607 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.3401, allocations: 47.91 kB / 0.8608 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3401, allocations: 0 / 0.8608 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.3405, allocations: 43.75 kB / 0.8608 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.3406, allocations: 12 kB / 0.8608 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003609/0.341, allocations: 192 kB / 0.861 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002832/0.3413, allocations: 153.4 kB / 0.8612 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003565/0.3416, allocations: 176.1 kB / 0.8613 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.3416, allocations: 0 / 0.8613 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000552/0.3422, allocations: 254.8 kB / 0.8616 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3422, allocations: 6.344 kB / 0.8616 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3422, allocations: 3.984 kB / 0.8616 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.3422, allocations: 8.062 kB / 0.8616 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.3424, allocations: 47.92 kB / 0.8617 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3425, allocations: 3.984 kB / 0.8617 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.3428, allocations: 31.92 kB / 0.8617 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.3428, allocations: 8 kB / 0.8617 GB, free: 13.23 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.000208/0.3431, allocations: 196.1 kB / 0.8619 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/0.3432, allocations: 43.72 kB / 0.8619 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006233/0.3438, allocations: 245.2 kB / 0.8622 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3438, allocations: 0 / 0.8622 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.3438, allocations: 4 kB / 0.8622 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3438, allocations: 0 / 0.8622 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.345, allocations: 0.7046 MB / 0.8628 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.345, allocations: 8 kB / 0.8629 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.3451, allocations: 31.86 kB / 0.8629 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.3451, allocations: 7.938 kB / 0.8629 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3452, allocations: 4 kB / 0.8629 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3452, allocations: 0 / 0.8629 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3452, allocations: 3.984 kB / 0.8629 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.3457, allocations: 346.6 kB / 0.8632 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.3458, allocations: 136.9 kB / 0.8634 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.3459, allocations: 15.94 kB / 0.8634 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.3461, allocations: 15.97 kB / 0.8634 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.3462, allocations: 15.97 kB / 0.8634 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3462, allocations: 4 kB / 0.8634 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003739/0.3466, allocations: 330.9 kB / 0.8637 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.3466, allocations: 0 / 0.8637 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006972/0.3473, allocations: 203.6 kB / 0.8639 GB, free: 10.82 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.001272/0.3486, allocations: 478.1 kB / 0.8644 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006998/0.3493, allocations: 279 kB / 0.8646 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3493, allocations: 0 / 0.8646 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.3495, allocations: 83.83 kB / 0.8647 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3505, allocations: 214.6 kB / 0.8649 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3518, allocations: 0.7044 MB / 0.8656 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3522, allocations: 0.8191 MB / 0.8664 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003059/0.3525, allocations: 87.56 kB / 0.8665 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.313e-05/0.3526, allocations: 39.42 kB / 0.8665 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/0.3526, allocations: 0 / 0.8665 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of Templates: time 0.01724/0.3698, allocations: 8.57 MB / 0.8749 GB, free: 15.76 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)