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.001205/0.001205, allocations: 108.5 kB / 17.03 MB, free: 5.656 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.001219/0.001219, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8634/0.8634, allocations: 115.1 MB / 406.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3278, allocations: 76.14 MB / 0.5576 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1003/0.4281, allocations: 112.6 MB / 0.6676 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03111/0.4593, allocations: 20.25 MB / 0.6873 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004043/0.4634, allocations: 107.3 kB / 0.6874 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004128/0.4675, allocations: 1.281 MB / 0.6887 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.4781, allocations: 3.688 MB / 0.6923 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00806/0.4862, allocations: 3.118 MB / 0.6953 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009934/0.4961, allocations: 7.211 MB / 0.7024 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.5006, allocations: 2.564 MB / 0.7049 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007532/0.5081, allocations: 2.816 MB / 0.7076 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004093/0.5123, allocations: 2.128 MB / 0.7097 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007971/0.5131, allocations: 252 kB / 0.7099 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/0.5173, allocations: 1.646 MB / 0.7116 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.5184, allocations: 0.7006 MB / 0.7122 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002442/0.5209, allocations: 1.512 MB / 0.7137 GB, free: 4.246 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006366/0.5272, allocations: 4.387 MB / 0.718 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5273, allocations: 8 kB / 0.718 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5273, allocations: 0 / 0.718 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.329e-05/0.5274, allocations: 0 / 0.718 GB, free: 15.84 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.006056/0.5335, allocations: 3.237 MB / 0.7212 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5335, allocations: 8.031 kB / 0.7212 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008836/0.5344, allocations: 332.5 kB / 0.7215 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/0.5389, allocations: 2.2 MB / 0.7236 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/0.539, allocations: 123 kB / 0.7238 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.5393, allocations: 164 kB / 0.7239 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.5421, allocations: 1.616 MB / 0.7255 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.5422, allocations: 0 / 0.7255 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.5423, allocations: 64 kB / 0.7255 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.5424, allocations: 43.94 kB / 0.7256 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.5445, allocations: 1.147 MB / 0.7267 GB, free: 6.711 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.01103/0.5555, allocations: 7.916 MB / 0.7344 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/0.5564, allocations: 486.1 kB / 0.7349 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.5569, allocations: 322.9 kB / 0.7352 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/0.5575, allocations: 0.7563 MB / 0.736 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.5576, allocations: 47.12 kB / 0.736 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.5576, allocations: 0 / 0.736 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002063/0.5596, allocations: 0.988 MB / 0.737 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.5597, allocations: 59.97 kB / 0.737 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003168/0.5629, allocations: 2.343 MB / 0.7393 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.563, allocations: 45.7 kB / 0.7394 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009461/0.564, allocations: 1.153 MB / 0.7405 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.5642, allocations: 209 kB / 0.7407 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/0.5646, allocations: 262.5 kB / 0.7409 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5648, allocations: 345.9 kB / 0.7413 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/0.5656, allocations: 357.9 kB / 0.7416 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.5666, allocations: 0.7541 MB / 0.7423 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.5684, allocations: 0.9785 MB / 0.7433 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5684, allocations: 8 kB / 0.7433 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002496/0.5709, allocations: 1.287 MB / 0.7446 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.571, allocations: 10.34 kB / 0.7446 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.571, allocations: 11.98 kB / 0.7446 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.571, allocations: 12.66 kB / 0.7446 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.572, allocations: 259.6 kB / 0.7448 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/0.5721, allocations: 23.88 kB / 0.7449 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.5737, allocations: 162.3 kB / 0.745 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.5738, allocations: 55.98 kB / 0.7451 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001367/0.5752, allocations: 0.7563 MB / 0.7458 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009315/0.5761, allocations: 0.7426 MB / 0.7465 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001357/0.5775, allocations: 0.9484 MB / 0.7475 GB, free: 148 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.863e-06/0.5775, allocations: 4 kB / 0.7475 GB, free: 144 kB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.2455/0.823, allocations: 1.249 MB / 0.7487 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.823, allocations: 9.469 kB / 0.7487 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.8231, allocations: 8.219 kB / 0.7487 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.8231, allocations: 15.92 kB / 0.7487 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/0.824, allocations: 247.2 kB / 0.7489 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.8241, allocations: 19.64 kB / 0.749 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.8257, allocations: 122.2 kB / 0.7491 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.8259, allocations: 52.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.000267/0.8261, allocations: 248.8 kB / 0.7494 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.8267, allocations: 237.9 kB / 0.7496 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.8287, allocations: 0.8837 MB / 0.7505 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.8287, allocations: 7.875 kB / 0.7505 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.8287, allocations: 0.9688 kB / 0.7505 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/0.8298, allocations: 0.684 MB / 0.7511 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004977/0.8348, allocations: 2.585 MB / 0.7537 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.8349, allocations: 2.406 kB / 0.7537 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.8354, allocations: 123.8 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.8354, allocations: 8.594 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.8355, allocations: 20.62 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.8355, allocations: 4.859 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8355, allocations: 1.25 kB / 0.7538 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.8377, allocations: 1.313 MB / 0.7551 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009605/0.8386, allocations: 419.4 kB / 0.7555 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.8389, allocations: 16.25 kB / 0.7555 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/0.8399, allocations: 47.78 kB / 0.7556 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.8401, allocations: 44.56 kB / 0.7556 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/0.8401, allocations: 37.11 kB / 0.7556 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002596/0.8427, allocations: 1.567 MB / 0.7572 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8428, allocations: 5.031 kB / 0.7572 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003084/0.8458, allocations: 1.101 MB / 0.7582 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.001674/0.8475, allocations: 0.7516 MB / 0.759 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002884/0.8504, allocations: 1.362 MB / 0.7603 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.8505, allocations: 1.375 kB / 0.7603 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000661/0.8511, allocations: 327.4 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.006568/0.8577, allocations: 1.384 MB / 0.762 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006344/0.8641, allocations: 3.672 MB / 0.7656 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.8656, allocations: 1.589 MB / 0.7671 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002482/0.8681, allocations: 0.4968 MB / 0.7676 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/0.8688, allocations: 173 kB / 0.7678 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.8688, allocations: 3.344 kB / 0.7678 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.06388/0.9327, 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)