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.0009414/0.0009414, allocations: 93.38 kB / 16.67 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009911/0.0009911, allocations: 179.6 kB / 17.57 MB, free: 5.965 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.356/1.356, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7482/0.7482, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 16 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3937, allocations: 77.51 MB / 0.5606 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.05246/0.4462, allocations: 60.65 MB / 0.6198 GB, free: 6.641 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.4643, allocations: 11.44 MB / 0.631 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.4674, allocations: 71.5 kB / 0.631 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.4701, allocations: 0.6448 MB / 0.6317 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006115/0.4762, allocations: 1.792 MB / 0.6334 GB, free: 8.656 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005646/0.4819, allocations: 1.774 MB / 0.6352 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007084/0.489, allocations: 5.23 MB / 0.6403 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.4912, allocations: 1.04 MB / 0.6413 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004445/0.4957, allocations: 1.664 MB / 0.6429 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.4983, allocations: 1.229 MB / 0.6441 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004672/0.4988, allocations: 60 kB / 0.6442 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/0.5026, allocations: 1.423 MB / 0.6456 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006886/0.5033, allocations: 306.5 kB / 0.6458 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001856/0.5052, allocations: 0.8369 MB / 0.6467 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.5085, allocations: 1.841 MB / 0.6485 GB, free: 9.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5086, allocations: 0 / 0.6485 GB, free: 9.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5086, allocations: 0 / 0.6485 GB, free: 9.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.286e-05/0.5087, allocations: 0 / 0.6485 GB, free: 9.188 MB / 494.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.003923/0.5126, allocations: 1.871 MB / 0.6503 GB, free: 7.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5127, allocations: 11.97 kB / 0.6503 GB, free: 7.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.5163, allocations: 0.6494 MB / 0.6509 GB, free: 6.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.519, allocations: 1.222 MB / 0.6521 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.5191, allocations: 78 kB / 0.6522 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.5194, allocations: 103.9 kB / 0.6523 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.5228, allocations: 1.363 MB / 0.6536 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.5228, allocations: 7.938 kB / 0.6536 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.523, allocations: 43.98 kB / 0.6537 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.523, allocations: 24 kB / 0.6537 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/0.5267, allocations: 1.269 MB / 0.6549 GB, free: 2.352 MB / 494.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.009444/0.5361, allocations: 6.399 MB / 0.6612 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/0.5396, allocations: 1.265 MB / 0.6624 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.5413, allocations: 0.6847 MB / 0.6631 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.5433, allocations: 2.257 MB / 0.6653 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002082/0.5454, allocations: 0.8367 MB / 0.6661 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.576e-06/0.5455, allocations: 0 / 0.6661 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.00601/0.5515, allocations: 2.174 MB / 0.6682 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.5516, allocations: 153.5 kB / 0.6684 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.5539, allocations: 1.213 MB / 0.6696 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.5541, allocations: 45.7 kB / 0.6696 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006821/0.5547, allocations: 0.686 MB / 0.6703 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.5552, allocations: 331.3 kB / 0.6706 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.5553, allocations: 85.67 kB / 0.6707 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5555, allocations: 341.9 kB / 0.671 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.5571, allocations: 0.5758 MB / 0.6716 GB, free: 184 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.559, allocations: 0.7765 MB / 0.6723 GB, free: 15.33 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.5625, allocations: 1.477 MB / 0.6738 GB, free: 13.76 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.5626, allocations: 3.938 kB / 0.6738 GB, free: 13.76 MB / 0.5138 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004576/0.5672, allocations: 1.746 MB / 0.6755 GB, free: 11.98 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.5675, allocations: 303.7 kB / 0.6758 GB, free: 11.61 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.5675, allocations: 4 kB / 0.6758 GB, free: 11.61 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.5675, allocations: 8 kB / 0.6758 GB, free: 11.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.5689, allocations: 291.6 kB / 0.6761 GB, free: 11.31 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.547e-05/0.5689, allocations: 11.94 kB / 0.6761 GB, free: 11.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.5708, allocations: 234.8 kB / 0.6763 GB, free: 11.07 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.571, allocations: 55.97 kB / 0.6763 GB, free: 11.02 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.571, allocations: 6.125 kB / 0.6764 GB, free: 11.01 MB / 0.5138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004017/0.575, allocations: 1.641 MB / 0.678 GB, free: 9.352 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.5751, allocations: 7.984 kB / 0.678 GB, free: 9.344 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5751, allocations: 8 kB / 0.678 GB, free: 9.336 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.5763, allocations: 279.9 kB / 0.6782 GB, free: 9.062 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.5763, allocations: 15.92 kB / 0.6783 GB, free: 9.047 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.578, allocations: 232.5 kB / 0.6785 GB, free: 8.82 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.5781, allocations: 47.98 kB / 0.6785 GB, free: 8.773 MB / 0.5138 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.0008401/0.579, allocations: 0.4919 MB / 0.679 GB, free: 8.25 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/0.5794, allocations: 162.1 kB / 0.6792 GB, free: 8.09 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/0.5849, allocations: 2.319 MB / 0.6814 GB, free: 5.762 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/0.5849, allocations: 12 kB / 0.6814 GB, free: 5.75 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.585, allocations: 7.922 kB / 0.6814 GB, free: 5.742 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.585, allocations: 3.984 kB / 0.6814 GB, free: 5.738 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007567/0.5925, allocations: 3.647 MB / 0.685 GB, free: 1.992 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.5926, allocations: 3.984 kB / 0.685 GB, free: 1.988 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.5938, allocations: 239.8 kB / 0.6852 GB, free: 1.754 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.5938, allocations: 4 kB / 0.6852 GB, free: 1.75 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.5939, allocations: 35.97 kB / 0.6853 GB, free: 1.715 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.594, allocations: 8 kB / 0.6853 GB, free: 1.707 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.594, allocations: 0 / 0.6853 GB, free: 1.707 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/0.6008, allocations: 3.07 MB / 0.6883 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/0.6018, allocations: 406.5 kB / 0.6887 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.6022, allocations: 28 kB / 0.6887 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.6037, allocations: 163.8 kB / 0.6889 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.6038, allocations: 76.83 kB / 0.6889 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.604, allocations: 47.97 kB / 0.689 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001491/0.6055, allocations: 0.8259 MB / 0.6898 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6055, allocations: 0 / 0.6898 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002667/0.6082, allocations: 0.8501 MB / 0.6906 GB, free: 12.18 MB / 0.5294 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.001493/0.6097, allocations: 0.5738 MB / 0.6912 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006549/0.6162, allocations: 2.779 MB / 0.6939 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.6163, allocations: 0 / 0.6939 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.6186, allocations: 1.098 MB / 0.695 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/0.6226, allocations: 0.6035 MB / 0.6955 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.6299, allocations: 3.926 MB / 0.6994 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.631, allocations: 1.266 MB / 0.7006 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006608/0.6316, allocations: 155.4 kB / 0.7008 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/0.6317, allocations: 0 / 0.7008 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of Templates: time 0.04441/0.6761, allocations: 27.58 MB / 0.7277 GB, free: 6.262 MB / 0.5606 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)