Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.117/1.117, allocations: 143.2 MB / 435.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 8 kB / 0.517 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1708, allocations: 83.42 MB / 0.5985 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4293/0.6002, allocations: 110.1 MB / 0.7061 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03862/0.6389, allocations: 20.14 MB / 0.7257 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005065/0.644, allocations: 90.5 kB / 0.7258 GB, free: 3.047 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004156/0.6482, allocations: 1.04 MB / 0.7268 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.6618, allocations: 3.389 MB / 0.7301 GB, free: 452 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008947/0.6707, allocations: 2.861 MB / 0.7329 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01384/0.6846, allocations: 9.539 MB / 0.7422 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003894/0.6885, allocations: 2.077 MB / 0.7443 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00611/0.6946, allocations: 2.321 MB / 0.7465 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004418/0.6991, allocations: 2.034 MB / 0.7485 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005451/0.6997, allocations: 95.94 kB / 0.7486 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004588/0.7043, allocations: 1.443 MB / 0.75 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008036/0.7051, allocations: 0.517 MB / 0.7505 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002999/0.7081, allocations: 1.334 MB / 0.7518 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005752/0.7139, allocations: 3.541 MB / 0.7553 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7139, allocations: 7.938 kB / 0.7553 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.795e-06/0.7139, allocations: 0 / 0.7553 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001807/0.7141, allocations: 0 / 0.7553 GB, free: 11.54 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006685/0.7208, allocations: 2.688 MB / 0.7579 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.7209, allocations: 8.031 kB / 0.7579 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.7221, allocations: 336.7 kB / 0.7582 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004594/0.7267, allocations: 2.159 MB / 0.7604 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.7268, allocations: 127 kB / 0.7605 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.7271, allocations: 164 kB / 0.7606 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/0.7301, allocations: 1.619 MB / 0.7622 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.7301, allocations: 4 kB / 0.7622 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.7303, allocations: 60 kB / 0.7623 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.7303, allocations: 43.98 kB / 0.7623 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.7326, allocations: 1.163 MB / 0.7635 GB, free: 2.977 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.01264/0.7452, allocations: 7.914 MB / 0.7712 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.7461, allocations: 482 kB / 0.7716 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/0.7466, allocations: 332.2 kB / 0.772 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/0.7473, allocations: 0.7563 MB / 0.7727 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.7474, allocations: 39.12 kB / 0.7727 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.785e-06/0.7474, allocations: 4 kB / 0.7727 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002282/0.7497, allocations: 0.9998 MB / 0.7737 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.7498, allocations: 55.97 kB / 0.7738 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00466/0.7544, allocations: 2.324 MB / 0.776 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004712/0.755, allocations: 49.7 kB / 0.7761 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.7566, allocations: 1.153 MB / 0.7772 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.7571, allocations: 216.9 kB / 0.7774 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.7573, allocations: 105.7 kB / 0.7775 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.7575, allocations: 345.9 kB / 0.7778 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009231/0.7584, allocations: 362.4 kB / 0.7782 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.7597, allocations: 0.7463 MB / 0.7789 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.7615, allocations: 0.9903 MB / 0.7799 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.7616, allocations: 4 kB / 0.7799 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00302/0.7646, allocations: 1.307 MB / 0.7812 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002977/0.7649, allocations: 343.2 kB / 0.7815 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.7649, allocations: 8 kB / 0.7815 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.765, allocations: 16 kB / 0.7815 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.766, allocations: 251.6 kB / 0.7818 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-05/0.766, allocations: 23.92 kB / 0.7818 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.7681, allocations: 254.1 kB / 0.782 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.7683, allocations: 51.98 kB / 0.7821 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.7683, allocations: 5.406 kB / 0.7821 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001904/0.7702, allocations: 1.027 MB / 0.7831 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.7702, allocations: 11.94 kB / 0.7831 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/0.7703, allocations: 16 kB / 0.7831 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/0.7712, allocations: 251.6 kB / 0.7833 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/0.7712, allocations: 20.61 kB / 0.7834 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.7733, allocations: 226.7 kB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.7734, allocations: 51.98 kB / 0.7836 GB, free: 13.15 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.00132/0.7747, allocations: 0.5749 MB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006474/0.7754, allocations: 240.9 kB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.7774, allocations: 0.902 MB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.7774, allocations: 4 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.7774, allocations: 4 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.7785, allocations: 0.6972 MB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.7835, allocations: 2.578 MB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7836, allocations: 8.031 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.7841, allocations: 123.9 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.7841, allocations: 11.92 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.7842, allocations: 20 kB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.7842, allocations: 8 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.7842, allocations: 3.984 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.7865, allocations: 1.337 MB / 0.79 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.7876, allocations: 457.8 kB / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000426/0.788, allocations: 12 kB / 0.7904 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.7894, allocations: 115.7 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.7895, allocations: 40.52 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/0.7896, allocations: 31.97 kB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002774/0.7923, allocations: 1.558 MB / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.21e-07/0.7924, allocations: 4 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00354/0.7959, allocations: 1.091 MB / 0.7932 GB, free: 3.176 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002037/0.798, allocations: 0.7396 MB / 0.7939 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00292/0.8009, allocations: 1.373 MB / 0.7953 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8009, allocations: 1.5 kB / 0.7953 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.8015, allocations: 339.2 kB / 0.7956 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007646/0.8092, allocations: 1.396 MB / 0.797 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008031/0.8172, allocations: 4.652 MB / 0.8015 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.8189, allocations: 1.59 MB / 0.803 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.8195, allocations: 179.4 kB / 0.8032 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of SimCode: time 1.032e-06/0.8195, allocations: 0 / 0.8032 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of Templates: time 0.07118/0.8907, allocations: 39.55 MB / 0.8418 GB, free: 1.793 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)