Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 112.3 kB / 17.33 MB, free: 4.996 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.001346/0.001346, allocations: 198.6 kB / 18.33 MB, free: 4.004 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.519/1.519, allocations: 225.6 MB / 244.8 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9173/0.9173, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 69.77 kB / 0.5912 GB, free: 21.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2142, allocations: 83.26 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.6618/0.876, allocations: 113.3 MB / 0.7831 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0278/0.9038, allocations: 20.1 MB / 0.8028 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00591/0.9097, allocations: 109.2 kB / 0.8029 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004296/0.914, allocations: 1.32 MB / 0.8042 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.9259, allocations: 3.844 MB / 0.8079 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008612/0.9346, allocations: 3.172 MB / 0.811 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.9452, allocations: 7.169 MB / 0.818 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003003/0.9482, allocations: 2.09 MB / 0.8201 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00711/0.9553, allocations: 3.068 MB / 0.8231 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003991/0.9593, allocations: 2.17 MB / 0.8252 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000529/0.9598, allocations: 252.2 kB / 0.8254 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.9641, allocations: 1.66 MB / 0.827 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005922/0.9647, allocations: 0.7136 MB / 0.8277 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.9665, allocations: 1.497 MB / 0.8292 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007113/0.9736, allocations: 4.374 MB / 0.8335 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9736, allocations: 0 / 0.8335 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9736, allocations: 3.938 kB / 0.8335 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.187e-05/0.9737, allocations: 6.5 kB / 0.8335 GB, free: 13.8 MB / 0.5919 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.007063/0.9808, allocations: 3.277 MB / 0.8367 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.9808, allocations: 8.031 kB / 0.8367 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.9819, allocations: 338 kB / 0.837 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.986, allocations: 2.199 MB / 0.8392 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.9862, allocations: 131 kB / 0.8393 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/0.9864, allocations: 168 kB / 0.8394 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.9895, allocations: 1.612 MB / 0.841 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.9895, allocations: 0 / 0.841 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.9896, allocations: 67.94 kB / 0.8411 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.9897, allocations: 47.98 kB / 0.8411 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.9919, allocations: 1.139 MB / 0.8422 GB, free: 5.016 MB / 0.5919 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.01166/1.004, allocations: 8.153 MB / 0.8502 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/1.004, allocations: 437.8 kB / 0.8506 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/1.005, allocations: 301.4 kB / 0.8509 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007274/1.006, allocations: 0.7563 MB / 0.8516 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/1.006, allocations: 43.11 kB / 0.8517 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.214e-06/1.006, allocations: 4 kB / 0.8517 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.002149/1.008, allocations: 0.9894 MB / 0.8527 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.008, allocations: 67.95 kB / 0.8527 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/1.012, allocations: 2.285 MB / 0.855 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002986/1.012, allocations: 49.7 kB / 0.855 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.013, allocations: 1.163 MB / 0.8561 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/1.014, allocations: 222 kB / 0.8563 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/1.014, allocations: 250.8 kB / 0.8566 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.014, allocations: 353.9 kB / 0.8569 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/1.015, allocations: 357.9 kB / 0.8573 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/1.016, allocations: 0.7502 MB / 0.858 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.018, allocations: 0.9901 MB / 0.859 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.018, allocations: 4 kB / 0.859 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002572/1.02, allocations: 1.297 MB / 0.8602 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.02, allocations: 8 kB / 0.8602 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.02, allocations: 8 kB / 0.8603 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/1.02, allocations: 20 kB / 0.8603 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.021, allocations: 247.6 kB / 0.8605 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/1.021, allocations: 23.92 kB / 0.8605 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/1.023, allocations: 158.9 kB / 0.8607 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/1.023, allocations: 51.98 kB / 0.8607 GB, free: 1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001535/1.025, allocations: 0.7602 MB / 0.8615 GB, free: 240 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001084/1.026, allocations: 0.7388 MB / 0.8622 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001565/1.027, allocations: 0.9486 MB / 0.8631 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.573e-06/1.027, allocations: 4 kB / 0.8631 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.00255/1.03, allocations: 1.267 MB / 0.8644 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.03, allocations: 14.72 kB / 0.8644 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.03, allocations: 12 kB / 0.8644 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.03, allocations: 12 kB / 0.8644 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009793/1.031, allocations: 251.9 kB / 0.8646 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/1.031, allocations: 15.94 kB / 0.8647 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.033, allocations: 123.4 kB / 0.8648 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/1.033, allocations: 55.98 kB / 0.8648 GB, free: 12.52 MB / 0.6231 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.0004333/1.033, allocations: 251.8 kB / 0.8651 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004126/1.034, allocations: 242.4 kB / 0.8653 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/1.035, allocations: 0.8892 MB / 0.8662 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.035, allocations: 8 kB / 0.8662 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.036, allocations: 4 kB / 0.8662 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/1.037, allocations: 0.6853 MB / 0.8668 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004841/1.041, allocations: 2.565 MB / 0.8694 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.041, allocations: 3.938 kB / 0.8694 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/1.042, allocations: 123.9 kB / 0.8695 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/1.042, allocations: 4 kB / 0.8695 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/1.042, allocations: 16 kB / 0.8695 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.042, allocations: 7.938 kB / 0.8695 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/1.042, allocations: 3.938 kB / 0.8695 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/1.044, allocations: 1.318 MB / 0.8708 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.045, allocations: 423.3 kB / 0.8712 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/1.046, allocations: 16 kB / 0.8712 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008919/1.047, allocations: 39.95 kB / 0.8712 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.047, allocations: 48.38 kB / 0.8713 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/1.047, allocations: 35.97 kB / 0.8713 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002699/1.049, allocations: 1.537 MB / 0.8728 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/1.049, allocations: 0 / 0.8728 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003704/1.053, allocations: 1.119 MB / 0.8739 GB, free: 3.031 MB / 0.6231 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.002339/1.056, allocations: 0.7361 MB / 0.8746 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002934/1.058, allocations: 1.276 MB / 0.8759 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.058, allocations: 8.562 kB / 0.8759 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005573/1.059, allocations: 303 kB / 0.8762 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005817/1.065, allocations: 1.384 MB / 0.8775 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/1.071, allocations: 3.707 MB / 0.8812 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/1.073, allocations: 1.577 MB / 0.8827 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002031/1.075, allocations: 496.3 kB / 0.8832 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/1.075, allocations: 175.4 kB / 0.8833 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.075, allocations: 0 / 0.8833 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of Templates: time 0.08449/1.16, allocations: 45.07 MB / 0.9273 GB, free: 12.87 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480]