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.356/1.356, allocations: 252 MB / 268 MB, free: 10.85 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.0009789/0.0009791, allocations: 175 kB / 327.6 MB, free: 2.105 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.631/1.631, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.0007979/0.000798, allocations: 90.31 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004595, allocations: 14.75 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2275, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.03923/0.2668, allocations: 60.75 MB / 0.9608 GB, free: 2.539 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.2826, allocations: 11.34 MB / 0.9719 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.2853, allocations: 75.44 kB / 0.9719 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.2877, allocations: 0.6487 MB / 0.9726 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005645/0.2934, allocations: 1.787 MB / 0.9743 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005544/0.2989, allocations: 1.807 MB / 0.9761 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007049/0.306, allocations: 5.255 MB / 0.9812 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.308, allocations: 1.063 MB / 0.9822 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.3122, allocations: 1.699 MB / 0.9839 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.3143, allocations: 1.233 MB / 0.9851 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.3145, allocations: 60 kB / 0.9852 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.3178, allocations: 1.427 MB / 0.9866 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.3182, allocations: 302.5 kB / 0.9868 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.3193, allocations: 0.8446 MB / 0.9877 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.322, allocations: 1.844 MB / 0.9895 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.322, allocations: 7.938 kB / 0.9895 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/0.322, allocations: 0 / 0.9895 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.695e-05/0.3221, allocations: 4 kB / 0.9895 GB, free: 5.035 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.002889/0.325, allocations: 1.886 MB / 0.9913 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.325, allocations: 12.03 kB / 0.9913 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.3283, allocations: 0.6456 MB / 0.992 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.3305, allocations: 1.238 MB / 0.9932 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/0.3305, allocations: 77.94 kB / 0.9932 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.3307, allocations: 111.9 kB / 0.9934 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.3336, allocations: 1.355 MB / 0.9947 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.3336, allocations: 7.938 kB / 0.9947 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.3337, allocations: 40 kB / 0.9947 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.3337, allocations: 24 kB / 0.9947 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.337, allocations: 1.261 MB / 0.996 GB, free: 14.18 MB / 0.6511 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.008713/0.3458, allocations: 6.405 MB / 1.002 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/0.349, allocations: 1.262 MB / 1.003 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.3506, allocations: 0.6741 MB / 1.004 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.3528, allocations: 2.265 MB / 1.006 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001868/0.3547, allocations: 0.825 MB / 1.007 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=100): time 4.318e-06/0.3547, allocations: 0 / 1.007 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100): time 0.005578/0.3603, allocations: 2.186 MB / 1.009 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/0.3604, allocations: 153.5 kB / 1.009 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.3621, allocations: 1.226 MB / 1.011 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.389e-05/0.3622, allocations: 45.7 kB / 1.011 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.3628, allocations: 0.6862 MB / 1.011 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.3631, allocations: 335.1 kB / 1.012 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.3632, allocations: 20 kB / 1.012 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3633, allocations: 345.9 kB / 1.012 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.3648, allocations: 0.5718 MB / 1.013 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.3665, allocations: 0.7765 MB / 1.013 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.3696, allocations: 1.481 MB / 1.015 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.3697, allocations: 3.938 kB / 1.015 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004064/0.3737, allocations: 1.742 MB / 1.016 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.374, allocations: 310 kB / 1.017 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.374, allocations: 4 kB / 1.017 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.374, allocations: 8 kB / 1.017 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3753, allocations: 279.6 kB / 1.017 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.3753, allocations: 15.92 kB / 1.017 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.377, allocations: 223 kB / 1.017 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.3772, allocations: 51.97 kB / 1.017 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3772, allocations: 11.94 kB / 1.017 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003773/0.381, allocations: 1.645 MB / 1.019 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.381, allocations: 8.031 kB / 1.019 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.381, allocations: 8 kB / 1.019 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.3823, allocations: 279.6 kB / 1.019 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.3823, allocations: 11.94 kB / 1.019 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.3839, allocations: 227 kB / 1.019 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.384, allocations: 51.97 kB / 1.019 GB, free: 4.66 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 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * 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.0007842/0.3848, allocations: 499.7 kB / 1.02 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.3851, allocations: 166 kB / 1.02 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/0.3901, allocations: 2.33 MB / 1.022 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.3902, allocations: 19.98 kB / 1.022 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3902, allocations: 0 / 1.022 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3902, allocations: 3.984 kB / 1.022 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007278/0.3975, allocations: 3.643 MB / 1.026 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.3976, allocations: 7.984 kB / 1.026 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.3988, allocations: 235.8 kB / 1.026 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.3988, allocations: 11.94 kB / 1.026 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.3989, allocations: 35.97 kB / 1.026 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.3989, allocations: 11.94 kB / 1.026 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.399, allocations: 4 kB / 1.026 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006774/0.4057, allocations: 3.07 MB / 1.029 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009799/0.4068, allocations: 398.6 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003821/0.4072, allocations: 28 kB / 1.03 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.4086, allocations: 167.8 kB / 1.03 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.4088, allocations: 80.83 kB / 1.03 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.409, allocations: 47.97 kB / 1.03 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001564/0.4105, allocations: 0.8343 MB / 1.031 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4106, allocations: 3.938 kB / 1.031 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002697/0.4133, allocations: 0.8578 MB / 1.032 GB, free: 8.012 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.001442/0.4147, allocations: 0.5744 MB / 1.032 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00627/0.421, allocations: 2.767 MB / 1.035 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4211, allocations: 0 / 1.035 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.4233, allocations: 1.098 MB / 1.036 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/0.4272, allocations: 0.6371 MB / 1.037 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006817/0.434, allocations: 3.93 MB / 1.04 GB, free: 14.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008177/0.4349, allocations: 1.271 MB / 1.042 GB, free: 13.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006616/0.4356, allocations: 155.4 kB / 1.042 GB, free: 13.41 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/0.4356, allocations: 0 / 1.042 GB, free: 13.41 MB / 0.698 GB Notification: Performance of Templates: time 0.4028/0.8384, allocations: 27.9 MB / 1.069 GB, free: 138.6 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)