Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001008/0.001008, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008502/0.008502, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7627/0.7627, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004852, allocations: 8 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4435, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.06097/0.5046, allocations: 60.68 MB / 0.6429 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.5219, allocations: 11.43 MB / 0.6541 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/0.5244, allocations: 79.38 kB / 0.6542 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.5266, allocations: 0.641 MB / 0.6548 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.5321, allocations: 1.799 MB / 0.6565 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005152/0.5372, allocations: 1.775 MB / 0.6583 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00712/0.5444, allocations: 5.223 MB / 0.6634 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.5465, allocations: 1.042 MB / 0.6644 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004118/0.5506, allocations: 1.66 MB / 0.666 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.5533, allocations: 1.237 MB / 0.6672 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005285/0.5539, allocations: 60 kB / 0.6673 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003554/0.5574, allocations: 1.427 MB / 0.6687 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005419/0.558, allocations: 298.5 kB / 0.669 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.5593, allocations: 0.8408 MB / 0.6698 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003657/0.5629, allocations: 2.511 MB / 0.6722 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.5629, allocations: 0 / 0.6722 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.563, allocations: 3.938 kB / 0.6722 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.906e-05/0.563, allocations: 0 / 0.6722 GB, free: 5.473 MB / 0.4981 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.002852/0.5658, allocations: 1.871 MB / 0.6741 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5659, allocations: 8.031 kB / 0.6741 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003429/0.5693, allocations: 0.6494 MB / 0.6747 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.5714, allocations: 1.226 MB / 0.6759 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.5714, allocations: 74 kB / 0.676 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.5716, allocations: 104 kB / 0.6761 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.5745, allocations: 1.359 MB / 0.6774 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.5746, allocations: 4 kB / 0.6774 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.5747, allocations: 36 kB / 0.6774 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.5747, allocations: 28 kB / 0.6775 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.5782, allocations: 1.276 MB / 0.6787 GB, free: 14.64 MB / 0.5137 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.007747/0.5859, allocations: 6.4 MB / 0.685 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.5891, allocations: 1.262 MB / 0.6862 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.5908, allocations: 0.6752 MB / 0.6869 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001757/0.5926, allocations: 2.261 MB / 0.6891 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/0.5946, allocations: 0.8367 MB / 0.6899 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=100): time 3.156e-06/0.5946, allocations: 0 / 0.6899 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=100): time 0.005809/0.6004, allocations: 2.171 MB / 0.692 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.6005, allocations: 157.4 kB / 0.6922 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.6021, allocations: 1.209 MB / 0.6933 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.6022, allocations: 45.7 kB / 0.6934 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005482/0.6028, allocations: 0.686 MB / 0.694 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.6031, allocations: 339.1 kB / 0.6944 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.6032, allocations: 85.67 kB / 0.6945 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6033, allocations: 345.9 kB / 0.6948 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.6049, allocations: 0.5758 MB / 0.6953 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.6067, allocations: 0.7765 MB / 0.6961 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/0.6101, allocations: 1.462 MB / 0.6975 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.6101, allocations: 0 / 0.6975 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004381/0.6145, allocations: 1.757 MB / 0.6992 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.6147, allocations: 309.5 kB / 0.6995 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6147, allocations: 4 kB / 0.6995 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.6147, allocations: 8 kB / 0.6996 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.616, allocations: 287.6 kB / 0.6998 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.616, allocations: 8 kB / 0.6998 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.6177, allocations: 226.9 kB / 0.7 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.6178, allocations: 51.97 kB / 0.7001 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.6178, allocations: 4 kB / 0.7001 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003944/0.6218, allocations: 1.656 MB / 0.7017 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.6218, allocations: 4 kB / 0.7017 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6218, allocations: 8 kB / 0.7017 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.6231, allocations: 275.9 kB / 0.702 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6231, allocations: 8 kB / 0.702 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.6248, allocations: 227 kB / 0.7022 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.6249, allocations: 51.92 kB / 0.7023 GB, free: 5.09 MB / 0.5294 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.0007697/0.6257, allocations: 0.5018 MB / 0.7028 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.6259, allocations: 162 kB / 0.7029 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005004/0.6309, allocations: 2.312 MB / 0.7052 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.631, allocations: 19.97 kB / 0.7052 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.631, allocations: 0 / 0.7052 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.631, allocations: 3.984 kB / 0.7052 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/0.638, allocations: 3.655 MB / 0.7088 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.638, allocations: 0 / 0.7088 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.6392, allocations: 227.9 kB / 0.709 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.6393, allocations: 8 kB / 0.709 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.721e-05/0.6394, allocations: 39.97 kB / 0.709 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.6394, allocations: 4 kB / 0.709 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-06/0.6394, allocations: 15.81 kB / 0.709 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006793/0.6462, allocations: 3.074 MB / 0.712 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007906/0.647, allocations: 398.5 kB / 0.7124 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.6473, allocations: 28 kB / 0.7125 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.6487, allocations: 167.8 kB / 0.7126 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.6489, allocations: 80.77 kB / 0.7127 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.649, allocations: 47.97 kB / 0.7127 GB, free: 10.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001445/0.6505, allocations: 0.822 MB / 0.7135 GB, free: 9.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.62e-07/0.6505, allocations: 0 / 0.7135 GB, free: 9.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002564/0.653, allocations: 0.8617 MB / 0.7144 GB, free: 8.477 MB / 0.545 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.001277/0.6543, allocations: 0.5705 MB / 0.7149 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006145/0.6605, allocations: 2.779 MB / 0.7177 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6605, allocations: 0 / 0.7177 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.6627, allocations: 1.102 MB / 0.7187 GB, free: 3.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/0.6663, allocations: 0.6104 MB / 0.7193 GB, free: 3.328 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006119/0.6724, allocations: 3.858 MB / 0.7231 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009433/0.6734, allocations: 1.27 MB / 0.7243 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001812/0.6752, allocations: 424.9 kB / 0.7247 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.6756, allocations: 139.3 kB / 0.7249 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.6757, allocations: 0 / 0.7249 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.05259/0.7282, allocations: 30.26 MB / 0.7544 GB, free: 15.79 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)