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.001681/0.001681, allocations: 106.5 kB / 16.52 MB, free: 6.27 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.001908/0.001908, allocations: 197 kB / 17.44 MB, free: 5.887 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7272/0.7272, allocations: 115.3 MB / 406.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 59.91 kB / 493.6 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3556, allocations: 76.17 MB / 0.5564 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09516/0.4508, allocations: 111.9 MB / 0.6656 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03027/0.4811, allocations: 20.33 MB / 0.6855 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004867/0.486, allocations: 99.38 kB / 0.6856 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004369/0.4904, allocations: 1.045 MB / 0.6866 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.503, allocations: 3.386 MB / 0.6899 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007992/0.511, allocations: 2.833 MB / 0.6927 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01163/0.5227, allocations: 9.537 MB / 0.702 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004158/0.5269, allocations: 2.15 MB / 0.7041 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00583/0.5327, allocations: 2.388 MB / 0.7064 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/0.5372, allocations: 2.131 MB / 0.7085 GB, free: 8.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.5382, allocations: 120 kB / 0.7086 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/0.5428, allocations: 1.474 MB / 0.7101 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.544, allocations: 0.5678 MB / 0.7106 GB, free: 6.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00314/0.5471, allocations: 1.368 MB / 0.712 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004747/0.5519, allocations: 3.403 MB / 0.7153 GB, free: 1.555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5519, allocations: 4 kB / 0.7153 GB, free: 1.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5519, allocations: 0 / 0.7153 GB, free: 1.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001577/0.5521, allocations: 0 / 0.7153 GB, free: 1.551 MB / 0.545 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.007707/0.5598, allocations: 3.218 MB / 0.7184 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.5599, allocations: 19.97 kB / 0.7184 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.561, allocations: 328.5 kB / 0.7188 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004566/0.5656, allocations: 2.147 MB / 0.7209 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.5658, allocations: 127 kB / 0.721 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/0.5662, allocations: 183.8 kB / 0.7212 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.5696, allocations: 1.608 MB / 0.7227 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/0.5697, allocations: 0 / 0.7227 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.5699, allocations: 64 kB / 0.7228 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/0.5699, allocations: 39.94 kB / 0.7228 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.5723, allocations: 1.151 MB / 0.7239 GB, free: 8.469 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.01179/0.5841, allocations: 7.881 MB / 0.7316 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/0.5849, allocations: 482.2 kB / 0.7321 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.5855, allocations: 327 kB / 0.7324 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/0.5861, allocations: 0.7524 MB / 0.7332 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.5862, allocations: 43.12 kB / 0.7332 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.404e-06/0.5862, allocations: 0 / 0.7332 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002225/0.5884, allocations: 0.9881 MB / 0.7342 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.5885, allocations: 59.97 kB / 0.7342 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003756/0.5922, allocations: 2.324 MB / 0.7365 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5924, allocations: 45.7 kB / 0.7365 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.5934, allocations: 1.149 MB / 0.7377 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.5937, allocations: 212.9 kB / 0.7379 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004106/0.5941, allocations: 254.6 kB / 0.7381 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5942, allocations: 357.9 kB / 0.7384 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006747/0.5949, allocations: 357.9 kB / 0.7388 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009784/0.5959, allocations: 0.7424 MB / 0.7395 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.5974, allocations: 0.9824 MB / 0.7405 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.5974, allocations: 0 / 0.7405 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002575/0.6, allocations: 1.295 MB / 0.7417 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.6, allocations: 8 kB / 0.7417 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.6001, allocations: 8 kB / 0.7417 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.6001, allocations: 16 kB / 0.7418 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.6011, allocations: 251.6 kB / 0.742 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-05/0.6011, allocations: 15.94 kB / 0.742 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.6031, allocations: 254.4 kB / 0.7423 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.6032, allocations: 51.98 kB / 0.7423 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001431/0.6047, allocations: 0.7602 MB / 0.743 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009604/0.6056, allocations: 0.7348 MB / 0.7438 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001355/0.607, allocations: 0.9602 MB / 0.7447 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.047e-06/0.607, allocations: 8 kB / 0.7447 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002445/0.6095, allocations: 1.254 MB / 0.7459 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6095, allocations: 8 kB / 0.7459 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.6095, allocations: 12 kB / 0.746 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.6095, allocations: 12.78 kB / 0.746 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/0.6105, allocations: 247.6 kB / 0.7462 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/0.6105, allocations: 23.88 kB / 0.7462 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.6124, allocations: 183.1 kB / 0.7464 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.6126, allocations: 51.98 kB / 0.7465 GB, free: 96 kB / 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.2818/0.8943, allocations: 247.3 kB / 0.7467 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000835/0.8952, allocations: 235.6 kB / 0.7469 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.8974, allocations: 0.8846 MB / 0.7478 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.8974, allocations: 8.453 kB / 0.7478 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.8974, allocations: 2.484 kB / 0.7478 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001042/0.8985, allocations: 0.6823 MB / 0.7485 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.903, allocations: 2.567 MB / 0.751 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.903, allocations: 0.8438 kB / 0.751 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.9036, allocations: 128.4 kB / 0.7511 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.9036, allocations: 7.219 kB / 0.7511 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.9036, allocations: 17.91 kB / 0.7511 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.9037, allocations: 7.438 kB / 0.7511 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9037, allocations: 4.219 kB / 0.7511 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.9061, allocations: 1.314 MB / 0.7524 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/0.9069, allocations: 419.3 kB / 0.7528 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.9071, allocations: 13.88 kB / 0.7528 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.9083, allocations: 112.8 kB / 0.7529 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.9084, allocations: 46.84 kB / 0.753 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.9085, allocations: 37.53 kB / 0.753 GB, free: 164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002376/0.9109, allocations: 1.552 MB / 0.7545 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9109, allocations: 0 / 0.7545 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002993/0.9139, allocations: 1.097 MB / 0.7556 GB, free: 163.3 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.00169/0.9156, allocations: 0.7262 MB / 0.7563 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.9182, allocations: 1.357 MB / 0.7576 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.9182, allocations: 1.406 kB / 0.7576 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00054/0.9188, allocations: 326.1 kB / 0.7579 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00656/0.9254, allocations: 1.393 MB / 0.7593 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/0.9317, allocations: 4.582 MB / 0.7638 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.933, allocations: 1.587 MB / 0.7653 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/0.9337, allocations: 182.5 kB / 0.7655 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.9337, allocations: 4.484 kB / 0.7655 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.05464/0.9883, allocations: 39.58 MB / 0.8042 GB, free: 133.5 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)