Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 176.4 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008025/0.0008025, allocations: 91.97 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003178, allocations: 12.25 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1954, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.0426/0.238, allocations: 61.56 MB / 0.9569 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.253, allocations: 11.47 MB / 0.9681 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.2558, allocations: 75.5 kB / 0.9681 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.2581, allocations: 0.6526 MB / 0.9688 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.2638, allocations: 1.799 MB / 0.9705 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005343/0.2692, allocations: 1.806 MB / 0.9723 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006684/0.2759, allocations: 5.257 MB / 0.9774 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.2781, allocations: 1.052 MB / 0.9785 GB, free: 192 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.2826, allocations: 1.695 MB / 0.9801 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.2852, allocations: 1.237 MB / 0.9813 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005065/0.2857, allocations: 60 kB / 0.9814 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/0.2894, allocations: 1.419 MB / 0.9828 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006405/0.29, allocations: 314.4 kB / 0.9831 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.2919, allocations: 0.8117 MB / 0.9838 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003375/0.2953, allocations: 1.843 MB / 0.9856 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.2954, allocations: 0 / 0.9856 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2954, allocations: 0 / 0.9856 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001217/0.2955, allocations: 0 / 0.9856 GB, free: 8.789 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003925/0.2994, allocations: 1.89 MB / 0.9875 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2995, allocations: 8.031 kB / 0.9875 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003689/0.3032, allocations: 0.6495 MB / 0.9881 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.3059, allocations: 1.226 MB / 0.9893 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.292e-05/0.3061, allocations: 82 kB / 0.9894 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.3063, allocations: 107.9 kB / 0.9895 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.3095, allocations: 1.367 MB / 0.9909 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.3096, allocations: 0 / 0.9909 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.3097, allocations: 47.98 kB / 0.9909 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.3097, allocations: 24 kB / 0.9909 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/0.3132, allocations: 1.276 MB / 0.9922 GB, free: 1.914 MB / 0.6355 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.01033/0.3235, allocations: 6.394 MB / 0.9984 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.3272, allocations: 1.262 MB / 0.9996 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.3289, allocations: 0.6791 MB / 1 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001942/0.3309, allocations: 2.264 MB / 1.003 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001981/0.3329, allocations: 0.825 MB / 1.003 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=100): time 5.43e-06/0.333, allocations: 0 / 1.003 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100): time 0.005672/0.3386, allocations: 2.182 MB / 1.005 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3388, allocations: 153.4 kB / 1.006 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.3408, allocations: 1.222 MB / 1.007 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/0.3409, allocations: 49.64 kB / 1.007 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/0.3415, allocations: 0.7017 MB / 1.008 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00034/0.3419, allocations: 323.2 kB / 1.008 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.342, allocations: 89.66 kB / 1.008 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3422, allocations: 341.9 kB / 1.008 GB, free: 292 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.3437, allocations: 0.568 MB / 1.009 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.3455, allocations: 0.7804 MB / 1.01 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.3488, allocations: 1.469 MB / 1.011 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.3488, allocations: 11.88 kB / 1.011 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00412/0.353, allocations: 1.742 MB / 1.013 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.3532, allocations: 315.7 kB / 1.013 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3532, allocations: 4 kB / 1.013 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.3532, allocations: 8 kB / 1.013 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.3545, allocations: 283.6 kB / 1.013 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.3545, allocations: 11.98 kB / 1.013 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.3561, allocations: 230.9 kB / 1.014 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.3562, allocations: 47.98 kB / 1.014 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3562, allocations: 7.938 kB / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003769/0.36, allocations: 1.648 MB / 1.015 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.36, allocations: 4 kB / 1.015 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3601, allocations: 11.98 kB / 1.015 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.3612, allocations: 280.1 kB / 1.015 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.3613, allocations: 12 kB / 1.015 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.3629, allocations: 223 kB / 1.016 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.363, allocations: 55.91 kB / 1.016 GB, free: 8.309 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0008442/0.3639, allocations: 499.7 kB / 1.016 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/0.3643, allocations: 166 kB / 1.016 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/0.3694, allocations: 2.31 MB / 1.019 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/0.3694, allocations: 19.98 kB / 1.019 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3695, allocations: 0 / 1.019 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.3695, allocations: 3.984 kB / 1.019 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007049/0.3765, allocations: 3.655 MB / 1.022 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.3766, allocations: 0 / 1.022 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.3777, allocations: 243.8 kB / 1.022 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.3777, allocations: 4 kB / 1.022 GB, free: 1.277 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-05/0.3778, allocations: 39.97 kB / 1.023 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.3779, allocations: 4 kB / 1.023 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3779, allocations: 3.938 kB / 1.023 GB, free: 1.23 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006397/0.3843, allocations: 3.074 MB / 1.026 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008342/0.3851, allocations: 398.5 kB / 1.026 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.3855, allocations: 31.94 kB / 1.026 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.3868, allocations: 171.7 kB / 1.026 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.387, allocations: 76.78 kB / 1.026 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.3871, allocations: 51.97 kB / 1.026 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001421/0.3886, allocations: 0.8265 MB / 1.027 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3886, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002398/0.391, allocations: 0.8579 MB / 1.028 GB, free: 11.68 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.001376/0.3924, allocations: 0.5623 MB / 1.028 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00614/0.3985, allocations: 2.787 MB / 1.031 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3986, allocations: 0 / 1.031 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.4008, allocations: 1.098 MB / 1.032 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/0.4048, allocations: 0.6427 MB / 1.033 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006908/0.4117, allocations: 3.82 MB / 1.037 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.4129, allocations: 1.282 MB / 1.038 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/0.4135, allocations: 155.2 kB / 1.038 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/0.4135, allocations: 0 / 1.038 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of Templates: time 0.4366/0.8502, allocations: 27.89 MB / 1.065 GB, free: 77.75 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)