Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 171 kB / 16.56 MB, free: 6.391 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.33/1.33, allocations: 223.2 MB / 240.5 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6523/0.6523, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004268, allocations: 8.656 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.3158/0.4562, allocations: 52.05 MB / 0.6077 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.4701, allocations: 9.932 MB / 0.6174 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.4725, allocations: 70.41 kB / 0.6174 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.4749, allocations: 0.7513 MB / 0.6182 GB, free: 364 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005951/0.4809, allocations: 1.869 MB / 0.62 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005764/0.4867, allocations: 1.789 MB / 0.6217 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.4917, allocations: 2.378 MB / 0.6241 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.4937, allocations: 0.9698 MB / 0.625 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003939/0.4977, allocations: 1.475 MB / 0.6264 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.4999, allocations: 0.8566 MB / 0.6273 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004362/0.5004, allocations: 59.34 kB / 0.6273 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.504, allocations: 1.02 MB / 0.6283 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005476/0.5046, allocations: 282.6 kB / 0.6286 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009477/0.5055, allocations: 354.9 kB / 0.6289 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.5086, allocations: 1.69 MB / 0.6306 GB, free: 9.309 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5086, allocations: 1.281 kB / 0.6306 GB, free: 9.309 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5086, allocations: 0 / 0.6306 GB, free: 9.309 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.949e-05/0.5087, allocations: 0 / 0.6306 GB, free: 9.309 MB / 462.1 MB 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.004039/0.5128, allocations: 1.871 MB / 0.6324 GB, free: 7.852 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.5128, allocations: 8.5 kB / 0.6324 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.5164, allocations: 0.6456 MB / 0.6331 GB, free: 7.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.5189, allocations: 1.166 MB / 0.6342 GB, free: 6.676 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/0.5189, allocations: 76.53 kB / 0.6343 GB, free: 6.641 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.5191, allocations: 103.5 kB / 0.6344 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.5217, allocations: 1.342 MB / 0.6357 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.5218, allocations: 0 / 0.6357 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.5219, allocations: 41.31 kB / 0.6357 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.5219, allocations: 27.19 kB / 0.6357 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/0.5251, allocations: 1.264 MB / 0.637 GB, free: 5.176 MB / 462.1 MB 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.008154/0.5333, allocations: 6.402 MB / 0.6432 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00303/0.5363, allocations: 1.249 MB / 0.6444 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.538, allocations: 2.256 MB / 0.6467 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/0.5398, allocations: 0.8296 MB / 0.6475 GB, free: 11.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.517e-06/0.5398, allocations: 0 / 0.6475 GB, free: 11.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=100): time 0.005359/0.5452, allocations: 2.407 MB / 0.6498 GB, free: 9.285 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.5453, allocations: 149.5 kB / 0.65 GB, free: 9.105 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.5468, allocations: 1.213 MB / 0.6511 GB, free: 7.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.484e-05/0.5469, allocations: 45.7 kB / 0.6512 GB, free: 7.832 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005031/0.5474, allocations: 0.6898 MB / 0.6519 GB, free: 7.133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.5477, allocations: 319.3 kB / 0.6522 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.5478, allocations: 24 kB / 0.6522 GB, free: 6.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5479, allocations: 341.9 kB / 0.6525 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.5494, allocations: 0.5679 MB / 0.6531 GB, free: 5.887 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.551, allocations: 0.7648 MB / 0.6538 GB, free: 5.047 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.5525, allocations: 0.6872 MB / 0.6545 GB, free: 4.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.5526, allocations: 0 / 0.6545 GB, free: 4.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003804/0.5564, allocations: 1.742 MB / 0.6562 GB, free: 2.574 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005743/0.557, allocations: 1.715 MB / 0.6579 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.557, allocations: 4 kB / 0.6579 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.557, allocations: 11.95 kB / 0.6579 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.5582, allocations: 279.6 kB / 0.6581 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.5583, allocations: 11.98 kB / 0.6582 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.5598, allocations: 230.9 kB / 0.6584 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.5599, allocations: 47.98 kB / 0.6584 GB, free: 120 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.56, allocations: 4 kB / 0.6584 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003596/0.5636, allocations: 1.64 MB / 0.66 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5636, allocations: 4.531 kB / 0.66 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5636, allocations: 16 kB / 0.66 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.5648, allocations: 275.6 kB / 0.6603 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5648, allocations: 11.94 kB / 0.6603 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.5663, allocations: 226.9 kB / 0.6605 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5664, allocations: 51.97 kB / 0.6606 GB, free: 13.88 MB / 494.1 MB 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.0006749/0.5671, allocations: 0.5035 MB / 0.6611 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.5673, allocations: 158.1 kB / 0.6612 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004615/0.5719, allocations: 2.309 MB / 0.6635 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.5719, allocations: 15.98 kB / 0.6635 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.572, allocations: 0 / 0.6635 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.572, allocations: 11.92 kB / 0.6635 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/0.5782, allocations: 3.635 MB / 0.6671 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.5782, allocations: 4 kB / 0.6671 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.5793, allocations: 231.8 kB / 0.6673 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.5794, allocations: 11.95 kB / 0.6673 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.5794, allocations: 43.95 kB / 0.6673 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.5795, allocations: 7.938 kB / 0.6673 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5795, allocations: 8 kB / 0.6673 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005872/0.5853, allocations: 3.12 MB / 0.6704 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/0.5861, allocations: 402.5 kB / 0.6708 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.5863, allocations: 28 kB / 0.6708 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.5875, allocations: 163.8 kB / 0.671 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.5877, allocations: 76.8 kB / 0.671 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.5878, allocations: 55.95 kB / 0.6711 GB, free: 2.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.5889, allocations: 0.8103 MB / 0.6719 GB, free: 2.062 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5889, allocations: 0 / 0.6719 GB, free: 2.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001969/0.5908, allocations: 0.85 MB / 0.6727 GB, free: 1.211 MB / 494.1 MB 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.0009376/0.5918, allocations: 0.5578 MB / 0.6733 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005387/0.5972, allocations: 2.767 MB / 0.676 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5972, allocations: 0 / 0.676 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.5991, allocations: 1.09 MB / 0.677 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/0.6018, allocations: 0.5985 MB / 0.6776 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/0.6073, allocations: 3.732 MB / 0.6813 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.608, allocations: 1.309 MB / 0.6825 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001532/0.6096, allocations: 419.5 kB / 0.6829 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.6099, allocations: 135.4 kB / 0.6831 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.6099, allocations: 0 / 0.6831 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.04651/0.6564, allocations: 29.42 MB / 0.7118 GB, free: 9.438 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)