Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009104, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008297/0.0008298, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8359/0.8359, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 12 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 82.31 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.2717/0.4107, allocations: 58.55 MB / 0.6444 GB, free: 18.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.4241, allocations: 12.1 MB / 0.6562 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.4259, allocations: 57.75 kB / 0.6562 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.4278, allocations: 0.7941 MB / 0.657 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.4327, allocations: 2.224 MB / 0.6592 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004961/0.4377, allocations: 1.899 MB / 0.661 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00461/0.4423, allocations: 2.789 MB / 0.6638 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.4442, allocations: 1.319 MB / 0.6651 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.4473, allocations: 1.314 MB / 0.6663 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.4492, allocations: 0.8803 MB / 0.6672 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.4494, allocations: 72.94 kB / 0.6673 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.453, allocations: 1.186 MB / 0.6684 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.4534, allocations: 332.6 kB / 0.6687 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006183/0.454, allocations: 428.3 kB / 0.6692 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00402/0.458, allocations: 2.679 MB / 0.6718 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4581, allocations: 1.312 kB / 0.6718 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4581, allocations: 3.938 kB / 0.6718 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.029e-05/0.4581, allocations: 0 / 0.6718 GB, free: 2.832 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004029/0.4622, allocations: 2.062 MB / 0.6738 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.4622, allocations: 8.25 kB / 0.6738 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.4673, allocations: 0.7608 MB / 0.6745 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.4698, allocations: 1.549 MB / 0.6761 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.4699, allocations: 143.2 kB / 0.6762 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.4702, allocations: 137 kB / 0.6763 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.4742, allocations: 1.826 MB / 0.6781 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.4743, allocations: 2.594 kB / 0.6781 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.4744, allocations: 58.47 kB / 0.6782 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.4745, allocations: 41.92 kB / 0.6782 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004758/0.4792, allocations: 1.612 MB / 0.6798 GB, free: 14.88 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.01115/0.4904, allocations: 7.61 MB / 0.6872 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.4927, allocations: 0.8951 MB / 0.6881 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.4939, allocations: 1.268 MB / 0.6893 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.494, allocations: 49.09 kB / 0.6894 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=81): time 2.504e-06/0.494, allocations: 2.078 kB / 0.6894 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=81): time 0.01649/0.5105, allocations: 2.812 MB / 0.6921 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.5106, allocations: 196.4 kB / 0.6923 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.5129, allocations: 1.466 MB / 0.6937 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.5131, allocations: 50.2 kB / 0.6938 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006314/0.5137, allocations: 0.7549 MB / 0.6945 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.514, allocations: 284.5 kB / 0.6948 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.5141, allocations: 21.22 kB / 0.6948 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5142, allocations: 348.8 kB / 0.6951 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.5161, allocations: 0.5476 MB / 0.6957 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.5182, allocations: 0.8581 MB / 0.6965 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.5201, allocations: 0.6048 MB / 0.6971 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.5202, allocations: 2.312 kB / 0.6971 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004923/0.5251, allocations: 1.693 MB / 0.6988 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007841/0.5259, allocations: 2.589 MB / 0.7013 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5259, allocations: 10.48 kB / 0.7013 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.5276, allocations: 493.7 kB / 0.7018 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.529, allocations: 281.5 kB / 0.702 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.5306, allocations: 1.001 MB / 0.703 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/0.5334, allocations: 304.1 kB / 0.7033 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.5335, allocations: 56.42 kB / 0.7034 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5335, allocations: 8.438 kB / 0.7034 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004669/0.5382, allocations: 1.532 MB / 0.7049 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5382, allocations: 10.33 kB / 0.7049 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.5399, allocations: 485.6 kB / 0.7053 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.5412, allocations: 280.5 kB / 0.7056 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.5427, allocations: 1.003 MB / 0.7066 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.5452, allocations: 276.6 kB / 0.7068 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.5453, allocations: 59.97 kB / 0.7069 GB, free: 13.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001077/0.5464, allocations: 484.8 kB / 0.7074 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.5467, allocations: 158.8 kB / 0.7075 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00558/0.5523, allocations: 1.528 MB / 0.709 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.5523, allocations: 8 kB / 0.709 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5523, allocations: 1.344 kB / 0.709 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004951/0.5573, allocations: 1.312 MB / 0.7103 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.5713, allocations: 3.879 MB / 0.7141 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5714, allocations: 2.656 kB / 0.7141 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009537/0.5723, allocations: 173.1 kB / 0.7143 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.5739, allocations: 483.6 kB / 0.7147 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/0.5739, allocations: 29.31 kB / 0.7147 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.5754, allocations: 0.992 MB / 0.7157 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.5755, allocations: 8 kB / 0.7157 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007192/0.5827, allocations: 2.447 MB / 0.7181 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.5837, allocations: 442.6 kB / 0.7185 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.584, allocations: 27.98 kB / 0.7186 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.5857, allocations: 183.5 kB / 0.7187 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.5859, allocations: 88.33 kB / 0.7188 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.88e-05/0.586, allocations: 47.95 kB / 0.7189 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00159/0.5876, allocations: 1.046 MB / 0.7199 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5876, allocations: 0 / 0.7199 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002612/0.5902, allocations: 0.9589 MB / 0.7208 GB, free: 1.809 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/0.5913, allocations: 0.5676 MB / 0.7214 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006135/0.5975, allocations: 2.005 MB / 0.7233 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.5975, allocations: 4 kB / 0.7233 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.5994, allocations: 0.6358 MB / 0.724 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/0.6029, allocations: 0.7835 MB / 0.7247 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.6086, allocations: 3.427 MB / 0.7281 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/0.6093, allocations: 1.301 MB / 0.7293 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001699/0.611, allocations: 397.7 kB / 0.7297 GB, free: 8.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.6114, allocations: 143.3 kB / 0.7299 GB, free: 8.488 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6114, allocations: 0 / 0.7299 GB, free: 8.488 MB / 0.545 GB Notification: Performance of Templates: time 0.05421/0.6656, allocations: 38.52 MB / 0.7675 GB, free: 2.379 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: