Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 285.4 MB / 298 MB, free: 5.961 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.001117/0.001117, allocations: 176.9 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.1 MB / 0.6248 GB, free: 7.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009926/0.0009925, allocations: 89.09 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.209e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.885/0.8851, allocations: 115.3 MB / 0.9709 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/2.178, allocations: 389.9 MB / 1.352 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/2.178, allocations: 84.39 kB / 1.352 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.44/5.618, allocations: 0.9343 GB / 2.286 GB, free: 66.19 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.121e-06/5.618, allocations: 0 / 2.286 GB, free: 66.19 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001788/5.619, allocations: 47.92 kB / 2.286 GB, free: 66.14 MB / 0.948 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.004287/5.623, allocations: 1.877 MB / 2.288 GB, free: 64.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/5.623, allocations: 8.031 kB / 2.288 GB, free: 64.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/5.626, allocations: 0.6065 MB / 2.289 GB, free: 63.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/5.629, allocations: 1.465 MB / 2.29 GB, free: 62.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/5.63, allocations: 86 kB / 2.29 GB, free: 61.97 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/5.63, allocations: 115.9 kB / 2.29 GB, free: 61.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/5.632, allocations: 1.185 MB / 2.291 GB, free: 60.61 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/5.632, allocations: 0 / 2.291 GB, free: 60.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/5.632, allocations: 44 kB / 2.291 GB, free: 60.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/5.632, allocations: 24 kB / 2.291 GB, free: 60.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/5.633, allocations: 0.9257 MB / 2.292 GB, free: 59.62 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007573/5.641, allocations: 6.429 MB / 2.299 GB, free: 52.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/5.642, allocations: 0.9578 MB / 2.299 GB, free: 51.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/5.643, allocations: 0.521 MB / 2.3 GB, free: 51.19 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/5.644, allocations: 2.26 MB / 2.302 GB, free: 48.43 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000823/5.645, allocations: 0.683 MB / 2.303 GB, free: 47.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 4.729e-06/5.645, allocations: 0 / 2.303 GB, free: 47.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.002353/5.648, allocations: 1.337 MB / 2.304 GB, free: 46.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/5.648, allocations: 145.3 kB / 2.304 GB, free: 46.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/5.649, allocations: 1.034 MB / 2.305 GB, free: 45.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.787e-05/5.649, allocations: 49.7 kB / 2.305 GB, free: 45.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/5.65, allocations: 0.6941 MB / 2.306 GB, free: 44.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/5.65, allocations: 335.2 kB / 2.306 GB, free: 44.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/5.65, allocations: 16 kB / 2.306 GB, free: 44.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/5.65, allocations: 345.9 kB / 2.307 GB, free: 43.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/5.651, allocations: 421.9 kB / 2.307 GB, free: 43.28 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007399/5.651, allocations: 0.6882 MB / 2.308 GB, free: 42.48 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/5.652, allocations: 0.5386 MB / 2.308 GB, free: 41.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/5.652, allocations: 0 / 2.308 GB, free: 41.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002132/5.654, allocations: 1.476 MB / 2.31 GB, free: 40.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003943/5.655, allocations: 1.716 MB / 2.311 GB, free: 38.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/5.655, allocations: 4 kB / 2.311 GB, free: 38.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/5.655, allocations: 12 kB / 2.311 GB, free: 38.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/5.656, allocations: 283.6 kB / 2.312 GB, free: 38.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/5.656, allocations: 8 kB / 2.312 GB, free: 38.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/5.658, allocations: 238.8 kB / 2.312 GB, free: 38.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/5.658, allocations: 59.97 kB / 2.312 GB, free: 37.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/5.658, allocations: 4 kB / 2.312 GB, free: 37.95 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001879/5.66, allocations: 1.378 MB / 2.313 GB, free: 36.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/5.66, allocations: 4 kB / 2.313 GB, free: 36.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/5.66, allocations: 8 kB / 2.313 GB, free: 36.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/5.661, allocations: 284.1 kB / 2.314 GB, free: 36.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/5.661, allocations: 8 kB / 2.314 GB, free: 36.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/5.662, allocations: 235 kB / 2.314 GB, free: 36.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/5.663, allocations: 55.97 kB / 2.314 GB, free: 35.97 MB / 0.948 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 () * 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.0003371/5.663, allocations: 278.4 kB / 2.314 GB, free: 35.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/5.663, allocations: 162 kB / 2.314 GB, free: 35.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/5.666, allocations: 2.029 MB / 2.316 GB, free: 33.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/5.666, allocations: 23.98 kB / 2.316 GB, free: 33.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/5.666, allocations: 0 / 2.316 GB, free: 33.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/5.666, allocations: 7.969 kB / 2.316 GB, free: 33.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/5.671, allocations: 3.404 MB / 2.32 GB, free: 29.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/5.671, allocations: 0 / 2.32 GB, free: 29.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/5.672, allocations: 235.8 kB / 2.32 GB, free: 29.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/5.672, allocations: 4 kB / 2.32 GB, free: 29.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/5.672, allocations: 51.95 kB / 2.32 GB, free: 29.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/5.672, allocations: 4 kB / 2.32 GB, free: 29.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/5.672, allocations: 0 / 2.32 GB, free: 29.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/5.676, allocations: 2.733 MB / 2.323 GB, free: 26.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009101/5.677, allocations: 406.6 kB / 2.323 GB, free: 26.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/5.677, allocations: 27.98 kB / 2.323 GB, free: 26.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/5.678, allocations: 183.7 kB / 2.323 GB, free: 26.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/5.678, allocations: 72.84 kB / 2.323 GB, free: 26.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/5.679, allocations: 59.97 kB / 2.323 GB, free: 26.06 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001115/5.68, allocations: 0.798 MB / 2.324 GB, free: 25.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/5.68, allocations: 0 / 2.324 GB, free: 25.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002766/5.682, allocations: 0.9206 MB / 2.325 GB, free: 24.34 MB / 0.948 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) * 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.001909/5.684, allocations: 0.9771 MB / 2.326 GB, free: 23.37 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003079/5.687, allocations: 2.302 MB / 2.328 GB, free: 20.99 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/5.687, allocations: 0 / 2.328 GB, free: 20.99 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000977/5.688, allocations: 0.9179 MB / 2.329 GB, free: 20.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/5.692, allocations: 0.6297 MB / 2.33 GB, free: 19.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/5.696, allocations: 2.47 MB / 2.332 GB, free: 16.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/5.697, allocations: 1.32 MB / 2.333 GB, free: 15.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002647/5.7, allocations: 495.6 kB / 2.334 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/5.7, allocations: 127.3 kB / 2.334 GB, free: 14.93 MB / 0.948 GB Notification: Performance of SimCode: time 1.944e-06/5.7, allocations: 0 / 2.334 GB, free: 14.93 MB / 0.948 GB Notification: Performance of Templates: time 0.7497/6.45, allocations: 38.32 MB / 2.371 GB, free: 133.7 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)