Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009079/0.0009081, allocations: 99.42 kB / 16.02 MB, free: 76 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.001015/0.001015, allocations: 181.1 kB / 16.92 MB, free: 6.918 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 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9613/0.9613, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 12.5 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1566, allocations: 82.3 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.3713/0.5279, allocations: 60.66 MB / 0.6479 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.5424, allocations: 11.44 MB / 0.659 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002563/0.545, allocations: 68.38 kB / 0.6591 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.5469, allocations: 0.6444 MB / 0.6597 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.5519, allocations: 1.795 MB / 0.6615 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004959/0.5569, allocations: 1.775 MB / 0.6632 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007314/0.5642, allocations: 5.219 MB / 0.6683 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.5663, allocations: 1.056 MB / 0.6693 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/0.571, allocations: 1.661 MB / 0.671 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002929/0.574, allocations: 1.237 MB / 0.6722 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002893/0.5743, allocations: 59.5 kB / 0.6722 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00379/0.5781, allocations: 1.416 MB / 0.6736 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003917/0.5785, allocations: 314.5 kB / 0.6739 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.5798, allocations: 0.8363 MB / 0.6747 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.5831, allocations: 1.844 MB / 0.6765 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5832, allocations: 2.141 kB / 0.6765 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5832, allocations: 0 / 0.6765 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.962e-05/0.5832, allocations: 0 / 0.6765 GB, free: 0.8203 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.003557/0.5868, allocations: 1.874 MB / 0.6784 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5868, allocations: 8.719 kB / 0.6784 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/0.5904, allocations: 0.642 MB / 0.679 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.5928, allocations: 1.22 MB / 0.6802 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.5929, allocations: 81.47 kB / 0.6803 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.5931, allocations: 103.8 kB / 0.6804 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/0.5964, allocations: 1.362 MB / 0.6817 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.5964, allocations: 2.344 kB / 0.6817 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.5965, allocations: 43.58 kB / 0.6817 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.5966, allocations: 24.22 kB / 0.6818 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003702/0.6003, allocations: 1.268 MB / 0.683 GB, free: 13.63 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.00973/0.61, allocations: 6.398 MB / 0.6892 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/0.6134, allocations: 1.261 MB / 0.6905 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.6152, allocations: 0.6815 MB / 0.6911 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002066/0.6173, allocations: 2.26 MB / 0.6933 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002062/0.6194, allocations: 0.8273 MB / 0.6942 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=100): time 3.006e-06/0.6194, allocations: 1.031 kB / 0.6942 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=100): time 0.005929/0.6253, allocations: 2.179 MB / 0.6963 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6255, allocations: 149.4 kB / 0.6964 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.6276, allocations: 1.215 MB / 0.6976 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.6277, allocations: 44.33 kB / 0.6977 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00064/0.6284, allocations: 0.6866 MB / 0.6983 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.6288, allocations: 327.6 kB / 0.6986 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.6289, allocations: 92.66 kB / 0.6987 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6291, allocations: 343.6 kB / 0.699 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.6306, allocations: 0.5686 MB / 0.6996 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.6325, allocations: 0.781 MB / 0.7004 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003457/0.6359, allocations: 1.474 MB / 0.7018 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.636, allocations: 5.062 kB / 0.7018 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004498/0.6405, allocations: 1.751 MB / 0.7035 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.6407, allocations: 305.7 kB / 0.7038 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.6408, allocations: 4.469 kB / 0.7038 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.6408, allocations: 9.125 kB / 0.7038 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.6421, allocations: 289.5 kB / 0.7041 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.6421, allocations: 11.94 kB / 0.7041 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.6439, allocations: 228 kB / 0.7043 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.644, allocations: 64.39 kB / 0.7044 GB, free: 152 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.6441, allocations: 4 kB / 0.7044 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003866/0.6479, allocations: 1.641 MB / 0.706 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6479, allocations: 4.125 kB / 0.706 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.648, allocations: 8.25 kB / 0.706 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.6492, allocations: 277.9 kB / 0.7063 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.6492, allocations: 12.19 kB / 0.7063 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.651, allocations: 225.7 kB / 0.7065 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.6511, allocations: 53.03 kB / 0.7066 GB, free: 15.17 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.0009668/0.6521, allocations: 0.4911 MB / 0.707 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.6524, allocations: 165 kB / 0.7072 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.6574, allocations: 2.316 MB / 0.7095 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/0.6575, allocations: 16.39 kB / 0.7095 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6575, allocations: 3.938 kB / 0.7095 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.6575, allocations: 7.969 kB / 0.7095 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007096/0.6646, allocations: 3.652 MB / 0.713 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.6646, allocations: 3.031 kB / 0.713 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.6658, allocations: 232.8 kB / 0.7133 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.6658, allocations: 8 kB / 0.7133 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.018e-05/0.6659, allocations: 39.97 kB / 0.7133 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.6659, allocations: 7.938 kB / 0.7133 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6659, allocations: 4 kB / 0.7133 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006473/0.6724, allocations: 3.062 MB / 0.7163 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.6734, allocations: 398.6 kB / 0.7167 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.6737, allocations: 32 kB / 0.7167 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.6749, allocations: 171.7 kB / 0.7169 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.6751, allocations: 76.83 kB / 0.717 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6752, allocations: 51.97 kB / 0.717 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001213/0.6764, allocations: 0.822 MB / 0.7178 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6764, allocations: 0 / 0.7178 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002436/0.6788, allocations: 0.8501 MB / 0.7186 GB, free: 5.445 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.001209/0.6801, allocations: 0.5789 MB / 0.7192 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00588/0.6859, allocations: 2.783 MB / 0.7219 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.686, allocations: 0 / 0.7219 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.688, allocations: 1.09 MB / 0.723 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/0.6916, allocations: 0.6074 MB / 0.7236 GB, free: 300 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/0.6983, allocations: 3.921 MB / 0.7274 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009393/0.6992, allocations: 1.266 MB / 0.7287 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.6998, allocations: 155.4 kB / 0.7288 GB, free: 10.88 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.6998, allocations: 0 / 0.7288 GB, free: 10.88 MB / 0.545 GB Notification: Performance of Templates: time 0.0419/0.7418, allocations: 27.58 MB / 0.7557 GB, free: 15.53 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)