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) 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/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001159/0.00116, allocations: 101 kB / 17.03 MB, free: 6.035 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.0009797/0.0009798, allocations: 196.1 kB / 17.98 MB, free: 5.113 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.299/1.299, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6982/0.6982, allocations: 115.1 MB / 407 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 60.12 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3537, allocations: 76.14 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09526/0.449, allocations: 112.6 MB / 0.6676 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02745/0.4765, allocations: 20.25 MB / 0.6873 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.481, allocations: 103.4 kB / 0.6874 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004147/0.4852, allocations: 1.281 MB / 0.6887 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.4969, allocations: 3.698 MB / 0.6923 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007708/0.5046, allocations: 3.112 MB / 0.6953 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009153/0.5138, allocations: 7.213 MB / 0.7024 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.517, allocations: 2.568 MB / 0.7049 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005929/0.523, allocations: 2.818 MB / 0.7076 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.5259, allocations: 2.124 MB / 0.7097 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003937/0.5263, allocations: 252 kB / 0.71 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.5295, allocations: 1.65 MB / 0.7116 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005879/0.5301, allocations: 0.6967 MB / 0.7122 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.5315, allocations: 1.512 MB / 0.7137 GB, free: 4.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.536, allocations: 4.398 MB / 0.718 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.536, allocations: 4 kB / 0.718 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.183e-06/0.536, allocations: 0 / 0.718 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.497e-05/0.536, allocations: 0 / 0.718 GB, free: 15.86 MB / 0.5606 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.004491/0.5405, allocations: 3.23 MB / 0.7212 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.5406, allocations: 8.031 kB / 0.7212 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006717/0.5413, allocations: 324.6 kB / 0.7215 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.5446, allocations: 2.205 MB / 0.7236 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.5447, allocations: 123 kB / 0.7238 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.5449, allocations: 168 kB / 0.7239 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.5472, allocations: 1.604 MB / 0.7255 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.5472, allocations: 3.938 kB / 0.7255 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.5474, allocations: 64 kB / 0.7256 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/0.5474, allocations: 51.92 kB / 0.7256 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.5493, allocations: 1.147 MB / 0.7267 GB, free: 6.73 MB / 0.5606 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.0114/0.5608, allocations: 7.912 MB / 0.7345 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.5617, allocations: 482 kB / 0.7349 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.5622, allocations: 326.9 kB / 0.7352 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.5629, allocations: 0.7601 MB / 0.736 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.5629, allocations: 43.12 kB / 0.736 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.905e-06/0.5629, allocations: 0 / 0.736 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.0021/0.565, allocations: 0.988 MB / 0.737 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.5651, allocations: 63.97 kB / 0.737 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.5683, allocations: 2.335 MB / 0.7393 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.5685, allocations: 45.7 kB / 0.7394 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/0.5695, allocations: 1.153 MB / 0.7405 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.5697, allocations: 213 kB / 0.7407 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.5701, allocations: 262.5 kB / 0.7409 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5702, allocations: 341.9 kB / 0.7413 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006413/0.5709, allocations: 365.9 kB / 0.7416 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009164/0.5718, allocations: 0.7424 MB / 0.7423 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.5732, allocations: 0.9863 MB / 0.7433 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.5732, allocations: 4 kB / 0.7433 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002538/0.5757, allocations: 1.295 MB / 0.7446 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5758, allocations: 12.19 kB / 0.7446 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.5758, allocations: 8 kB / 0.7446 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.5758, allocations: 12 kB / 0.7446 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009215/0.5767, allocations: 255.6 kB / 0.7448 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/0.5768, allocations: 15.94 kB / 0.7449 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.5785, allocations: 158.4 kB / 0.745 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.509e-05/0.5786, allocations: 59.98 kB / 0.7451 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001405/0.58, allocations: 0.7563 MB / 0.7458 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001044/0.581, allocations: 0.7367 MB / 0.7465 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001423/0.5825, allocations: 0.9561 MB / 0.7475 GB, free: 180 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.332e-06/0.5825, allocations: 4 kB / 0.7475 GB, free: 176 kB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.2747/0.8572, allocations: 1.25 MB / 0.7487 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.8573, allocations: 11.53 kB / 0.7487 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.8573, allocations: 8.5 kB / 0.7487 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-05/0.8573, allocations: 16.89 kB / 0.7487 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.8584, allocations: 245.8 kB / 0.749 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.8584, allocations: 23.61 kB / 0.749 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.8601, allocations: 122.5 kB / 0.7491 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/0.8602, allocations: 51.89 kB / 0.7491 GB, free: 166.9 MB / 0.5762 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.000279/0.8604, allocations: 255.8 kB / 0.7494 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/0.8609, allocations: 234.4 kB / 0.7496 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.8627, allocations: 0.8878 MB / 0.7505 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.8627, allocations: 8.453 kB / 0.7505 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8627, allocations: 0 / 0.7505 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.8638, allocations: 0.6839 MB / 0.7512 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004197/0.868, allocations: 2.579 MB / 0.7537 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.868, allocations: 2.031 kB / 0.7537 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.8685, allocations: 128 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.8685, allocations: 7.844 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.8686, allocations: 16.77 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.8686, allocations: 3.578 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8686, allocations: 1.781 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.8705, allocations: 1.316 MB / 0.7551 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007138/0.8712, allocations: 415.2 kB / 0.7555 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.8714, allocations: 21.48 kB / 0.7555 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/0.8723, allocations: 43.19 kB / 0.7556 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.8724, allocations: 40.2 kB / 0.7556 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/0.8725, allocations: 41.38 kB / 0.7556 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00217/0.8746, allocations: 1.564 MB / 0.7572 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8747, allocations: 3.203 kB / 0.7572 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002647/0.8773, allocations: 1.105 MB / 0.7583 GB, free: 163.5 MB / 0.5762 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.001619/0.8789, allocations: 0.7554 MB / 0.759 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002504/0.8814, allocations: 1.355 MB / 0.7603 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8815, allocations: 4.969 kB / 0.7603 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.882, allocations: 328.1 kB / 0.7606 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005112/0.8871, allocations: 1.394 MB / 0.762 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/0.8923, allocations: 3.665 MB / 0.7656 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.8935, allocations: 1.594 MB / 0.7671 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002142/0.8957, allocations: 0.4895 MB / 0.7676 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/0.8961, allocations: 180.7 kB / 0.7678 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.8961, allocations: 0 / 0.7678 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.06052/0.9567, allocations: 44.42 MB / 0.8112 GB, free: 127.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)