Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.683/2.683, allocations: 287.5 MB / 302.4 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001348, allocations: 172.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.219/2.219, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008666/0.0008665, allocations: 98.03 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006648/0.0006651, allocations: 11.81 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.217, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.08206/0.2991, allocations: 57.42 MB / 1.034 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.3224, allocations: 10.7 MB / 1.045 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.3249, allocations: 75.44 kB / 1.045 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.328, allocations: 0.5667 MB / 1.046 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006871/0.335, allocations: 1.619 MB / 1.047 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006886/0.3419, allocations: 1.513 MB / 1.049 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008861/0.3508, allocations: 4.515 MB / 1.053 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.3536, allocations: 0.9687 MB / 1.054 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005314/0.359, allocations: 1.551 MB / 1.055 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.3622, allocations: 1.155 MB / 1.057 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005003/0.3627, allocations: 60 kB / 1.057 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/0.3673, allocations: 1.119 MB / 1.058 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008005/0.3682, allocations: 286.7 kB / 1.058 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000944/0.3692, allocations: 356.8 kB / 1.058 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.3735, allocations: 1.761 MB / 1.06 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3736, allocations: 4 kB / 1.06 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3736, allocations: 0 / 1.06 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.136e-05/0.3737, allocations: 0 / 1.06 GB, free: 8.484 MB / 0.6823 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.004989/0.3787, allocations: 1.906 MB / 1.062 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3788, allocations: 8.031 kB / 1.062 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005872/0.3847, allocations: 0.6416 MB / 1.063 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.3883, allocations: 1.181 MB / 1.064 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3884, allocations: 78 kB / 1.064 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.3887, allocations: 111.9 kB / 1.064 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/0.3937, allocations: 1.351 MB / 1.065 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.3938, allocations: 3.938 kB / 1.065 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.3939, allocations: 40 kB / 1.065 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.394, allocations: 24 kB / 1.065 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006187/0.4002, allocations: 1.261 MB / 1.067 GB, free: 1.688 MB / 0.6823 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.6521/1.052, allocations: 6.389 MB / 1.073 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009207/1.062, allocations: 1.256 MB / 1.074 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004847/1.067, allocations: 0.6689 MB / 1.075 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003321/1.07, allocations: 2.263 MB / 1.077 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005442/1.075, allocations: 0.8268 MB / 1.078 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 8.486e-06/1.075, allocations: 0 / 1.078 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.01563/1.091, allocations: 2.172 MB / 1.08 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/1.091, allocations: 150.4 kB / 1.08 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004797/1.096, allocations: 1.216 MB / 1.081 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003823/1.097, allocations: 44.45 kB / 1.081 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/1.098, allocations: 0.6973 MB / 1.082 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007956/1.099, allocations: 327.8 kB / 1.082 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/1.099, allocations: 16.81 kB / 1.082 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.099, allocations: 343.6 kB / 1.082 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004567/1.104, allocations: 0.5662 MB / 1.083 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/1.109, allocations: 0.7707 MB / 1.084 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004859/1.114, allocations: 0.6891 MB / 1.084 GB, free: 80.15 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/1.114, allocations: 5.438 kB / 1.084 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01175/1.125, allocations: 1.729 MB / 1.086 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002783/1.126, allocations: 313.5 kB / 1.086 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/1.126, allocations: 4.719 kB / 1.086 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-05/1.126, allocations: 8.75 kB / 1.086 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/1.13, allocations: 282 kB / 1.087 GB, free: 79.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-05/1.13, allocations: 19.12 kB / 1.087 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004241/1.134, allocations: 231.9 kB / 1.087 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004858/1.135, allocations: 54.33 kB / 1.087 GB, free: 79.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.135, allocations: 8.125 kB / 1.087 GB, free: 79.07 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01078/1.146, allocations: 1.633 MB / 1.089 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.146, allocations: 3.844 kB / 1.089 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/1.146, allocations: 12.38 kB / 1.089 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/1.149, allocations: 279.3 kB / 1.089 GB, free: 78.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.352e-05/1.15, allocations: 16.39 kB / 1.089 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/1.154, allocations: 223.8 kB / 1.089 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/1.154, allocations: 50.75 kB / 1.089 GB, free: 78.41 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002079/1.156, allocations: 0.4897 MB / 1.09 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.157, allocations: 167.1 kB / 1.09 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009989/1.167, allocations: 2.313 MB / 1.092 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.137e-05/1.168, allocations: 19.17 kB / 1.092 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.168, allocations: 7.891 kB / 1.092 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/1.168, allocations: 8.531 kB / 1.092 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/1.18, allocations: 3.637 MB / 1.096 GB, free: 75.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.18, allocations: 1.312 kB / 1.096 GB, free: 75.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/1.182, allocations: 233 kB / 1.096 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.915e-05/1.182, allocations: 6.125 kB / 1.096 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/1.182, allocations: 38.56 kB / 1.096 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.56e-05/1.182, allocations: 15.94 kB / 1.096 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.182, allocations: 3.141 kB / 1.096 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.193, allocations: 3.057 MB / 1.099 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.195, allocations: 400.8 kB / 1.099 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/1.195, allocations: 32.19 kB / 1.099 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.197, allocations: 169 kB / 1.1 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/1.198, allocations: 73.16 kB / 1.1 GB, free: 73.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/1.198, allocations: 48.03 kB / 1.1 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001947/1.2, allocations: 0.8215 MB / 1.1 GB, free: 73.67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.12e-07/1.2, allocations: 0 / 1.1 GB, free: 73.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003471/1.203, allocations: 0.8574 MB / 1.101 GB, free: 73.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001668/1.205, allocations: 0.5596 MB / 1.102 GB, free: 73.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.216, allocations: 2.761 MB / 1.104 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.216, allocations: 4 kB / 1.105 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003803/1.22, allocations: 1.093 MB / 1.106 GB, free: 71.74 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00559/1.225, allocations: 0.6463 MB / 1.106 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009698/1.235, allocations: 3.753 MB / 1.11 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.236, allocations: 1.279 MB / 1.111 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002991/1.239, allocations: 434.1 kB / 1.112 GB, free: 68.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/1.24, allocations: 137.9 kB / 1.112 GB, free: 68.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/1.24, allocations: 0 / 1.112 GB, free: 68.38 MB / 0.6823 GB Notification: Performance of Templates: time 0.09242/1.332, allocations: 29.89 MB / 1.141 GB, free: 44.01 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)