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.001128/0.001128, allocations: 87.69 kB / 16.66 MB, free: 6.594 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.001631/0.001631, allocations: 179 kB / 17.58 MB, free: 6.18 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.458/1.458, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 115.5 MB / 408.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3793, allocations: 77.51 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1018/0.4812, allocations: 110.1 MB / 0.6681 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03115/0.5124, allocations: 20.11 MB / 0.6878 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00555/0.518, allocations: 91.31 kB / 0.6878 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004511/0.5225, allocations: 1.041 MB / 0.6889 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.5345, allocations: 3.388 MB / 0.6922 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008297/0.5428, allocations: 2.856 MB / 0.695 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01246/0.5553, allocations: 9.524 MB / 0.7043 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/0.5601, allocations: 2.072 MB / 0.7063 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006214/0.5663, allocations: 2.325 MB / 0.7086 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004156/0.5705, allocations: 2.037 MB / 0.7105 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009486/0.5715, allocations: 88 kB / 0.7106 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005693/0.5772, allocations: 1.45 MB / 0.712 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.5784, allocations: 0.5171 MB / 0.7126 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003152/0.5816, allocations: 1.334 MB / 0.7139 GB, free: 6.035 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005318/0.5869, allocations: 3.331 MB / 0.7171 GB, free: 2.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5869, allocations: 0 / 0.7171 GB, free: 2.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5869, allocations: 0 / 0.7171 GB, free: 2.695 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001598/0.5871, allocations: 0 / 0.7171 GB, free: 2.695 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.006162/0.5933, allocations: 2.689 MB / 0.7197 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.5933, allocations: 19.91 kB / 0.7198 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.5945, allocations: 320.6 kB / 0.7201 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004621/0.5991, allocations: 2.157 MB / 0.7222 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.5993, allocations: 135 kB / 0.7223 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/0.5997, allocations: 164 kB / 0.7225 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/0.6033, allocations: 1.612 MB / 0.724 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.6033, allocations: 7.844 kB / 0.724 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.6035, allocations: 64 kB / 0.7241 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.719e-05/0.6036, allocations: 47.94 kB / 0.7241 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.6061, allocations: 1.159 MB / 0.7253 GB, free: 10.13 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.01303/0.6191, allocations: 7.893 MB / 0.733 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.6201, allocations: 490.3 kB / 0.7334 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005724/0.6207, allocations: 325.9 kB / 0.7338 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000703/0.6214, allocations: 0.7602 MB / 0.7345 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.364e-05/0.6215, allocations: 43.12 kB / 0.7345 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.246e-06/0.6215, allocations: 0 / 0.7345 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002374/0.6239, allocations: 1.004 MB / 0.7355 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.6239, allocations: 59.97 kB / 0.7356 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004213/0.6281, allocations: 2.32 MB / 0.7378 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.6284, allocations: 45.7 kB / 0.7379 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.6295, allocations: 1.157 MB / 0.739 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.6298, allocations: 212.9 kB / 0.7392 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.63, allocations: 105.7 kB / 0.7393 GB, free: 11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6301, allocations: 353.9 kB / 0.7397 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.6309, allocations: 354.5 kB / 0.74 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.6319, allocations: 0.7502 MB / 0.7407 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.6335, allocations: 0.9941 MB / 0.7417 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.6336, allocations: 0 / 0.7417 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002756/0.6363, allocations: 1.307 MB / 0.743 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/0.6366, allocations: 338.7 kB / 0.7433 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.6366, allocations: 8 kB / 0.7433 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.6e-05/0.6367, allocations: 19.98 kB / 0.7433 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6378, allocations: 255.6 kB / 0.7436 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.475e-05/0.6378, allocations: 15.94 kB / 0.7436 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.6405, allocations: 254.1 kB / 0.7438 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.6407, allocations: 51.98 kB / 0.7439 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6407, allocations: 6.031 kB / 0.7439 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002124/0.6429, allocations: 1.034 MB / 0.7449 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.6429, allocations: 11.98 kB / 0.7449 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6429, allocations: 12 kB / 0.7449 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/0.6439, allocations: 252.1 kB / 0.7452 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.421e-05/0.6439, allocations: 19.94 kB / 0.7452 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.646, allocations: 222.6 kB / 0.7454 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.6461, allocations: 47.98 kB / 0.7454 GB, free: 4.332 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.001258/0.6474, allocations: 0.5787 MB / 0.746 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007068/0.6481, allocations: 237 kB / 0.7462 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.6502, allocations: 0.8958 MB / 0.7471 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.6502, allocations: 8 kB / 0.7471 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6502, allocations: 3.984 kB / 0.7471 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/0.6513, allocations: 0.697 MB / 0.7478 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.327/0.9783, allocations: 2.581 MB / 0.7503 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.9784, allocations: 1.25 kB / 0.7503 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.979, allocations: 129.3 kB / 0.7504 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-05/0.9791, allocations: 4.625 kB / 0.7504 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.9791, allocations: 20.31 kB / 0.7505 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.9792, allocations: 3.609 kB / 0.7505 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9792, allocations: 1.906 kB / 0.7505 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.982, allocations: 1.331 MB / 0.7518 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.9833, allocations: 458 kB / 0.7522 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006865/0.984, allocations: 12.14 kB / 0.7522 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.9857, allocations: 118.3 kB / 0.7523 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.9859, allocations: 44.92 kB / 0.7524 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.986, allocations: 36.64 kB / 0.7524 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003375/0.9894, allocations: 1.551 MB / 0.7539 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9894, allocations: 3.562 kB / 0.7539 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003827/0.9932, allocations: 1.099 MB / 0.755 GB, free: 165.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.001873/0.9951, allocations: 0.7337 MB / 0.7557 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00337/0.9985, allocations: 1.369 MB / 0.757 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.9985, allocations: 1.188 kB / 0.757 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007054/0.9992, allocations: 332 kB / 0.7574 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008553/1.008, allocations: 1.387 MB / 0.7587 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007123/1.015, allocations: 4.658 MB / 0.7633 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.016, allocations: 1.589 MB / 0.7648 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007629/1.017, allocations: 182.8 kB / 0.765 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/1.017, allocations: 3.938 kB / 0.765 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.06098/1.078, allocations: 39.19 MB / 0.8033 GB, free: 136.4 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)