Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001666/0.001666, allocations: 112.8 kB / 16.42 MB, free: 6.008 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.001849/0.001849, allocations: 187 kB / 17.35 MB, free: 5.625 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 295.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.393, allocations: 86.97 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.06816/0.4612, allocations: 69.96 MB / 0.8354 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02005/0.4813, allocations: 14.31 MB / 0.8494 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.4837, allocations: 75.56 kB / 0.8494 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.4863, allocations: 0.9705 MB / 0.8504 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006884/0.4932, allocations: 2.699 MB / 0.853 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006027/0.4992, allocations: 2.067 MB / 0.855 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006431/0.5057, allocations: 4.931 MB / 0.8598 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.5088, allocations: 1.911 MB / 0.8617 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004356/0.5132, allocations: 1.916 MB / 0.8636 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.5156, allocations: 1.365 MB / 0.8649 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005364/0.5161, allocations: 228 kB / 0.8651 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004516/0.5207, allocations: 2.02 MB / 0.8671 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007224/0.5214, allocations: 0.5101 MB / 0.8676 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.5233, allocations: 1.139 MB / 0.8687 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006126/0.5294, allocations: 3.84 MB / 0.8725 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5294, allocations: 0 / 0.8725 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5295, allocations: 0 / 0.8725 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001065/0.5296, allocations: 0 / 0.8725 GB, free: 7.559 MB / 0.6387 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.005788/0.5354, allocations: 2.498 MB / 0.8749 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5354, allocations: 12.03 kB / 0.8749 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/0.5413, allocations: 0.7088 MB / 0.8756 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.5445, allocations: 1.693 MB / 0.8773 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.5447, allocations: 140.3 kB / 0.8774 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.545, allocations: 143.9 kB / 0.8775 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004513/0.5496, allocations: 1.82 MB / 0.8793 GB, free: 328 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.5496, allocations: 15.88 kB / 0.8793 GB, free: 312 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.5498, allocations: 60 kB / 0.8794 GB, free: 252 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.5498, allocations: 43.94 kB / 0.8794 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005126/0.555, allocations: 1.587 MB / 0.881 GB, free: 14.61 MB / 0.6544 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.01095/0.5659, allocations: 7.517 MB / 0.8883 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.5684, allocations: 0.8741 MB / 0.8892 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.5701, allocations: 0.5432 MB / 0.8897 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/0.5714, allocations: 1.271 MB / 0.8909 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.5715, allocations: 51.16 kB / 0.891 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=81): time 5.35e-06/0.5715, allocations: 0 / 0.891 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.01788/0.5894, allocations: 2.749 MB / 0.8937 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.5895, allocations: 188.6 kB / 0.8939 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.5921, allocations: 1.445 MB / 0.8953 GB, free: 15.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.5922, allocations: 57.69 kB / 0.8953 GB, free: 15.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006916/0.5929, allocations: 0.7508 MB / 0.8961 GB, free: 14.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.5932, allocations: 276.1 kB / 0.8963 GB, free: 14.13 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.5937, allocations: 262.5 kB / 0.8966 GB, free: 13.87 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5938, allocations: 345.9 kB / 0.8969 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.5959, allocations: 0.5447 MB / 0.8974 GB, free: 12.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.5982, allocations: 0.8525 MB / 0.8983 GB, free: 12.01 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00383/0.602, allocations: 1.214 MB / 0.8994 GB, free: 10.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.602, allocations: 4 kB / 0.8994 GB, free: 10.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01284/0.6149, allocations: 2.202 MB / 0.9016 GB, free: 8.488 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.6149, allocations: 11.98 kB / 0.9016 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6149, allocations: 4 kB / 0.9016 GB, free: 8.473 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.6167, allocations: 488.1 kB / 0.9021 GB, free: 7.996 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.6182, allocations: 267.5 kB / 0.9023 GB, free: 7.734 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.6199, allocations: 1 MB / 0.9033 GB, free: 6.711 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.6223, allocations: 234.6 kB / 0.9035 GB, free: 6.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.6224, allocations: 63.89 kB / 0.9036 GB, free: 6.418 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002595/0.6251, allocations: 0.8601 MB / 0.9044 GB, free: 5.555 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002278/0.6273, allocations: 0.8486 MB / 0.9053 GB, free: 4.586 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0038/0.6312, allocations: 1.206 MB / 0.9064 GB, free: 3.289 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-06/0.6312, allocations: 0 / 0.9064 GB, free: 3.289 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.01285/0.644, allocations: 2.206 MB / 0.9086 GB, free: 1.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6441, allocations: 8 kB / 0.9086 GB, free: 1.062 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6441, allocations: 4 kB / 0.9086 GB, free: 1.059 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.6457, allocations: 492.1 kB / 0.9091 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.6472, allocations: 263.5 kB / 0.9093 GB, free: 328 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.6488, allocations: 0.9965 MB / 0.9103 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.6512, allocations: 219.1 kB / 0.9105 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.6514, allocations: 63.88 kB / 0.9106 GB, free: 15.02 MB / 0.6856 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 (heaPum.temPro.hysdTConEva.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.on.y,heaPum.temPro.hysLow.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysHig.y,heaPum.com.isOn,$PRE.heaPum.com.isOn) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003708/0.6517, allocations: 252 kB / 0.9108 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/0.6522, allocations: 158.1 kB / 0.911 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006177/0.6584, allocations: 1.499 MB / 0.9124 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005369/0.6638, allocations: 1.284 MB / 0.9137 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6638, allocations: 0 / 0.9137 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/0.6646, allocations: 374.9 kB / 0.914 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/0.665, allocations: 20 kB / 0.9141 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.6667, allocations: 135.8 kB / 0.9142 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6669, allocations: 60.56 kB / 0.9142 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006836/0.6737, allocations: 1.546 MB / 0.9158 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005615/0.6794, allocations: 1.904 MB / 0.9176 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001662/0.681, allocations: 0.4934 MB / 0.9181 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001727/0.6828, allocations: 1.01 MB / 0.9191 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of Backend: time 6.11e-07/0.6828, allocations: 0 / 0.9191 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007395/0.6902, allocations: 2.268 MB / 0.9213 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of SimCode: time 0.00643/0.6966, allocations: 3.695 MB / 0.9249 GB, free: 224 kB / 0.6856 GB Notification: Performance of Templates: time 0.3889/1.086, allocations: 47.35 MB / 0.9711 GB, free: 176.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)