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.001369/0.001369, allocations: 102.9 kB / 15.98 MB, free: 6.348 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.001514/0.001514, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7571/0.7571, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 59.91 kB / 0.4906 GB, free: 7.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4617, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1079/0.5696, allocations: 111.6 MB / 0.6757 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03181/0.6015, allocations: 20.11 MB / 0.6953 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005559/0.6071, allocations: 99.31 kB / 0.6954 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.6114, allocations: 1.096 MB / 0.6965 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.6229, allocations: 3.44 MB / 0.6998 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008094/0.631, allocations: 2.865 MB / 0.7026 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.6424, allocations: 7.262 MB / 0.7097 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00529/0.6478, allocations: 2.54 MB / 0.7122 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008289/0.6561, allocations: 2.819 MB / 0.715 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/0.6605, allocations: 2.205 MB / 0.7171 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.6617, allocations: 252 kB / 0.7174 GB, free: 340 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004719/0.6664, allocations: 1.657 MB / 0.719 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.6677, allocations: 0.6928 MB / 0.7197 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003356/0.6711, allocations: 1.508 MB / 0.7211 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007786/0.6789, allocations: 4.354 MB / 0.7254 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6789, allocations: 4 kB / 0.7254 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.406e-06/0.6789, allocations: 3.984 kB / 0.7254 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001838/0.6791, allocations: 0 / 0.7254 GB, free: 8.086 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.007756/0.6869, allocations: 3.226 MB / 0.7285 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.687, allocations: 12.62 kB / 0.7286 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.6881, allocations: 328.5 kB / 0.7289 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004267/0.6924, allocations: 2.151 MB / 0.731 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.904e-05/0.6925, allocations: 123 kB / 0.7311 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003544/0.6929, allocations: 168 kB / 0.7312 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/0.6962, allocations: 1.613 MB / 0.7328 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.6962, allocations: 0 / 0.7328 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.6964, allocations: 71.97 kB / 0.7329 GB, free: 208 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.6965, allocations: 43.94 kB / 0.7329 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.6987, allocations: 1.147 MB / 0.7341 GB, free: 15.01 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.01188/0.7106, allocations: 7.877 MB / 0.7417 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.7115, allocations: 473.9 kB / 0.7422 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.712, allocations: 323 kB / 0.7425 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006911/0.7127, allocations: 0.7563 MB / 0.7432 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.7128, allocations: 43.12 kB / 0.7433 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.845e-06/0.7128, allocations: 0 / 0.7433 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002462/0.7152, allocations: 0.9958 MB / 0.7443 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.7153, allocations: 55.97 kB / 0.7443 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004281/0.7196, allocations: 2.316 MB / 0.7466 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.7197, allocations: 41.7 kB / 0.7466 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.7209, allocations: 1.149 MB / 0.7477 GB, free: 260 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.7211, allocations: 220.9 kB / 0.7479 GB, free: 36 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3194/1.041, allocations: 249.9 kB / 0.7482 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/1.041, allocations: 352.5 kB / 0.7485 GB, free: 164 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007474/1.041, allocations: 357.8 kB / 0.7489 GB, free: 164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009737/1.042, allocations: 0.7493 MB / 0.7496 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.044, allocations: 0.9783 MB / 0.7505 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.044, allocations: 5.969 kB / 0.7506 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002674/1.046, allocations: 1.298 MB / 0.7518 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.047, allocations: 9.266 kB / 0.7518 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.047, allocations: 7.969 kB / 0.7518 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/1.047, allocations: 15.36 kB / 0.7519 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.048, allocations: 253.9 kB / 0.7521 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/1.048, allocations: 20.5 kB / 0.7521 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/1.049, allocations: 240.6 kB / 0.7523 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.05, allocations: 56.38 kB / 0.7524 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001428/1.051, allocations: 0.7609 MB / 0.7531 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009712/1.052, allocations: 0.7397 MB / 0.7539 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001507/1.054, allocations: 0.9466 MB / 0.7548 GB, free: 161 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.744e-06/1.054, allocations: 3.219 kB / 0.7548 GB, free: 161 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002316/1.056, allocations: 1.257 MB / 0.756 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.056, allocations: 9.656 kB / 0.756 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.056, allocations: 8.625 kB / 0.756 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.056, allocations: 15.25 kB / 0.7561 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/1.057, allocations: 252 kB / 0.7563 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/1.057, allocations: 18.78 kB / 0.7563 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/1.059, allocations: 188.8 kB / 0.7565 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/1.059, allocations: 55.44 kB / 0.7565 GB, free: 160.5 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.00035/1.059, allocations: 247.7 kB / 0.7568 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/1.06, allocations: 235.2 kB / 0.757 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/1.061, allocations: 0.8859 MB / 0.7579 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.061, allocations: 8.547 kB / 0.7579 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.061, allocations: 3.938 kB / 0.7579 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009833/1.062, allocations: 0.6864 MB / 0.7586 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004825/1.067, allocations: 2.569 MB / 0.7611 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.067, allocations: 4.938 kB / 0.7611 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/1.068, allocations: 124.4 kB / 0.7612 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.068, allocations: 4.594 kB / 0.7612 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/1.068, allocations: 17.36 kB / 0.7612 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/1.068, allocations: 3.766 kB / 0.7612 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.068, allocations: 3 kB / 0.7612 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/1.07, allocations: 1.313 MB / 0.7625 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009353/1.071, allocations: 419.5 kB / 0.7629 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/1.071, allocations: 15.28 kB / 0.7629 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.072, allocations: 118.3 kB / 0.763 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.072, allocations: 40.09 kB / 0.7631 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.121e-05/1.072, allocations: 32.09 kB / 0.7631 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002328/1.075, allocations: 1.555 MB / 0.7646 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.075, allocations: 0 / 0.7646 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002924/1.078, allocations: 1.1 MB / 0.7657 GB, free: 156.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.001747/1.08, allocations: 0.734 MB / 0.7664 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003042/1.083, allocations: 1.447 MB / 0.7678 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.083, allocations: 0 / 0.7678 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005323/1.083, allocations: 328.2 kB / 0.7681 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005978/1.089, allocations: 1.393 MB / 0.7695 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/1.096, allocations: 4.534 MB / 0.7739 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/1.097, allocations: 1.592 MB / 0.7755 GB, free: 152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002461/1.099, allocations: 499.1 kB / 0.7759 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/1.099, allocations: 169.5 kB / 0.7761 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of SimCode: time 6.72e-07/1.099, allocations: 0 / 0.7761 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.06693/1.166, allocations: 46.14 MB / 0.8212 GB, free: 109.3 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)