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.001164/0.001164, allocations: 105.9 kB / 16.4 MB, free: 6.461 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.001132/0.001133, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8594/0.8594, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.02 kB / 0.5731 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2068, allocations: 78.71 MB / 0.6499 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5864/0.7932, allocations: 112.6 MB / 0.7599 GB, free: 28.22 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03689/0.8302, allocations: 20.25 MB / 0.7797 GB, free: 27.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008445/0.8387, allocations: 106.6 kB / 0.7798 GB, free: 27.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006129/0.8449, allocations: 1.28 MB / 0.781 GB, free: 27.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01607/0.8611, allocations: 3.684 MB / 0.7846 GB, free: 27.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009503/0.8706, allocations: 3.133 MB / 0.7877 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01249/0.8831, allocations: 7.21 MB / 0.7947 GB, free: 22.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004371/0.8875, allocations: 2.57 MB / 0.7973 GB, free: 21.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007266/0.8948, allocations: 2.817 MB / 0.8 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004192/0.899, allocations: 2.12 MB / 0.8021 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008382/0.8999, allocations: 255.1 kB / 0.8023 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005209/0.9051, allocations: 1.646 MB / 0.8039 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007787/0.9059, allocations: 0.6973 MB / 0.8046 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00247/0.9084, allocations: 1.509 MB / 0.8061 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008323/0.9167, allocations: 4.423 MB / 0.8104 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9167, allocations: 0 / 0.8104 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9168, allocations: 0 / 0.8104 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.603e-05/0.9168, allocations: 1.188 kB / 0.8104 GB, free: 13.86 MB / 0.5762 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.005349/0.9222, allocations: 3.322 MB / 0.8136 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.9223, allocations: 7.562 kB / 0.8136 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008577/0.9231, allocations: 340.2 kB / 0.814 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.9266, allocations: 2.221 MB / 0.8161 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.9267, allocations: 123.1 kB / 0.8163 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.9269, allocations: 172.3 kB / 0.8164 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.9294, allocations: 1.617 MB / 0.818 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.9294, allocations: 2.844 kB / 0.818 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.9296, allocations: 68.09 kB / 0.8181 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.9296, allocations: 45.56 kB / 0.8181 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.9314, allocations: 1.143 MB / 0.8192 GB, free: 7.906 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.01034/0.9417, allocations: 7.946 MB / 0.827 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008489/0.9426, allocations: 470 kB / 0.8274 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.9431, allocations: 326.9 kB / 0.8278 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007258/0.9439, allocations: 0.7518 MB / 0.8285 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.9439, allocations: 47.06 kB / 0.8285 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.025e-06/0.9439, allocations: 4 kB / 0.8285 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002366/0.9463, allocations: 1.001 MB / 0.8295 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.9464, allocations: 55.97 kB / 0.8296 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/0.9502, allocations: 2.339 MB / 0.8318 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.9504, allocations: 45.7 kB / 0.8319 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.9515, allocations: 1.169 MB / 0.833 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.9517, allocations: 227.4 kB / 0.8333 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.9521, allocations: 254.8 kB / 0.8335 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9523, allocations: 349.9 kB / 0.8338 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.953, allocations: 357.9 kB / 0.8342 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.954, allocations: 0.754 MB / 0.8349 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.9555, allocations: 0.9862 MB / 0.8359 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.9555, allocations: 4 kB / 0.8359 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002628/0.9581, allocations: 1.301 MB / 0.8371 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.9582, allocations: 8 kB / 0.8372 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.9582, allocations: 8 kB / 0.8372 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.9582, allocations: 16 kB / 0.8372 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/0.9592, allocations: 251.6 kB / 0.8374 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/0.9592, allocations: 15.94 kB / 0.8374 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.9609, allocations: 179 kB / 0.8376 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.961, allocations: 51.98 kB / 0.8376 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001452/0.9625, allocations: 0.7598 MB / 0.8384 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009725/0.9635, allocations: 0.7445 MB / 0.8391 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001376/0.9649, allocations: 0.9446 MB / 0.84 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.7e-06/0.9649, allocations: 4 kB / 0.84 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002611/0.9675, allocations: 1.275 MB / 0.8413 GB, free: 232 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.9675, allocations: 11.98 kB / 0.8413 GB, free: 220 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.9676, allocations: 8 kB / 0.8413 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9676, allocations: 12 kB / 0.8413 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/0.9686, allocations: 251.6 kB / 0.8416 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.9686, allocations: 20.47 kB / 0.8416 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.9705, allocations: 119.5 kB / 0.8417 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.9706, allocations: 51.98 kB / 0.8417 GB, free: 15.76 MB / 0.6075 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.0003709/0.971, allocations: 247.9 kB / 0.842 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004914/0.9715, allocations: 246.4 kB / 0.8422 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.9734, allocations: 0.8974 MB / 0.8431 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.9734, allocations: 4 kB / 0.8431 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.9734, allocations: 4 kB / 0.8431 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/0.9746, allocations: 0.6853 MB / 0.8438 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/0.9791, allocations: 2.582 MB / 0.8463 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.9791, allocations: 3.984 kB / 0.8463 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/0.9798, allocations: 123.9 kB / 0.8464 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.9798, allocations: 8 kB / 0.8464 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.9799, allocations: 19.98 kB / 0.8464 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/0.9799, allocations: 4 kB / 0.8464 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9799, allocations: 7.875 kB / 0.8464 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.9823, allocations: 1.326 MB / 0.8477 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.9835, allocations: 431.3 kB / 0.8482 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.9838, allocations: 12 kB / 0.8482 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009997/0.9848, allocations: 47.94 kB / 0.8482 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.9849, allocations: 48.39 kB / 0.8483 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/0.985, allocations: 31.97 kB / 0.8483 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003039/0.9881, allocations: 1.569 MB / 0.8498 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9881, allocations: 0 / 0.8498 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00387/0.992, allocations: 1.115 MB / 0.8509 GB, free: 6.203 MB / 0.6075 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.002239/0.9942, allocations: 0.7565 MB / 0.8516 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002861/0.9971, allocations: 1.359 MB / 0.853 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.9971, allocations: 0 / 0.853 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.9977, allocations: 323 kB / 0.8533 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006438/1.004, allocations: 1.392 MB / 0.8546 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006608/1.011, allocations: 3.741 MB / 0.8583 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/1.012, allocations: 1.595 MB / 0.8599 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001999/1.014, allocations: 0.4905 MB / 0.8603 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/1.015, allocations: 175.4 kB / 0.8605 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of SimCode: time 1.022e-06/1.015, allocations: 0 / 0.8605 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.07165/1.086, allocations: 44.77 MB / 0.9042 GB, free: 376 kB / 0.6544 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)