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.001281/0.001282, allocations: 110.3 kB / 16.42 MB, free: 6.469 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.001285/0.001285, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 295.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 103.8 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.39, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.06382/0.4538, allocations: 69.96 MB / 0.8354 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.4732, allocations: 14.32 MB / 0.8494 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.4755, allocations: 71.56 kB / 0.8494 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.478, allocations: 0.9392 MB / 0.8503 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006637/0.4846, allocations: 2.576 MB / 0.8529 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004844/0.4895, allocations: 2.065 MB / 0.8549 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005864/0.4954, allocations: 4.918 MB / 0.8597 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/0.4983, allocations: 1.915 MB / 0.8616 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.5023, allocations: 1.909 MB / 0.8634 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.5047, allocations: 1.365 MB / 0.8647 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005283/0.5052, allocations: 228 kB / 0.865 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004214/0.5094, allocations: 2.013 MB / 0.8669 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006282/0.5101, allocations: 0.5257 MB / 0.8674 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.5117, allocations: 1.128 MB / 0.8685 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005882/0.5176, allocations: 3.84 MB / 0.8723 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5176, allocations: 0 / 0.8723 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5176, allocations: 0 / 0.8723 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.787e-05/0.5177, allocations: 0 / 0.8723 GB, free: 7.777 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.005085/0.5228, allocations: 2.498 MB / 0.8747 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.5228, allocations: 8.031 kB / 0.8747 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.5287, allocations: 0.7127 MB / 0.8754 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.5316, allocations: 1.697 MB / 0.8771 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.5318, allocations: 140.4 kB / 0.8772 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.532, allocations: 139.9 kB / 0.8774 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/0.5364, allocations: 1.82 MB / 0.8791 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.5364, allocations: 3.938 kB / 0.8791 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.5366, allocations: 60 kB / 0.8792 GB, free: 488 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.5367, allocations: 47.88 kB / 0.8792 GB, free: 440 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005104/0.5418, allocations: 1.583 MB / 0.8808 GB, free: 14.84 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.01053/0.5523, allocations: 7.525 MB / 0.8881 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.5548, allocations: 0.8816 MB / 0.889 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.5567, allocations: 0.5364 MB / 0.8895 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.5579, allocations: 1.275 MB / 0.8908 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.558, allocations: 51.16 kB / 0.8908 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=81): time 2.475e-06/0.558, allocations: 0 / 0.8908 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.01795/0.576, allocations: 2.745 MB / 0.8935 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.5761, allocations: 188.6 kB / 0.8937 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.5785, allocations: 1.46 MB / 0.8951 GB, free: 15.44 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.5786, allocations: 49.7 kB / 0.8952 GB, free: 15.38 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/0.5793, allocations: 0.7509 MB / 0.8959 GB, free: 14.62 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.5796, allocations: 272.1 kB / 0.8961 GB, free: 14.35 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/0.58, allocations: 258.5 kB / 0.8964 GB, free: 14.09 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5802, allocations: 353.9 kB / 0.8967 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.5823, allocations: 0.5446 MB / 0.8973 GB, free: 13.19 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.5846, allocations: 0.8486 MB / 0.8981 GB, free: 12.23 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/0.5885, allocations: 1.214 MB / 0.8993 GB, free: 10.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.5886, allocations: 0 / 0.8993 GB, free: 10.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01296/0.6015, allocations: 2.206 MB / 0.9014 GB, free: 8.707 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6016, allocations: 8 kB / 0.9014 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.6016, allocations: 8 kB / 0.9014 GB, free: 8.691 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.6033, allocations: 487.8 kB / 0.9019 GB, free: 8.215 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.6048, allocations: 271.5 kB / 0.9022 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.6065, allocations: 0.9905 MB / 0.9031 GB, free: 6.938 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.6089, allocations: 246.8 kB / 0.9034 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.609, allocations: 67.88 kB / 0.9034 GB, free: 6.629 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002554/0.6116, allocations: 0.864 MB / 0.9043 GB, free: 5.762 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002248/0.6138, allocations: 0.8408 MB / 0.9051 GB, free: 4.801 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003799/0.6176, allocations: 1.206 MB / 0.9063 GB, free: 3.504 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.449e-06/0.6176, allocations: 0 / 0.9063 GB, free: 3.504 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.01259/0.6302, allocations: 2.202 MB / 0.9084 GB, free: 1.289 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6303, allocations: 8 kB / 0.9084 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.6303, allocations: 4 kB / 0.9084 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/0.6319, allocations: 487.8 kB / 0.9089 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.6334, allocations: 271.5 kB / 0.9092 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.635, allocations: 0.9926 MB / 0.9101 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.6373, allocations: 223.1 kB / 0.9103 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.6375, allocations: 59.94 kB / 0.9104 GB, free: 15.24 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.0003414/0.6378, allocations: 248 kB / 0.9106 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.6382, allocations: 154.1 kB / 0.9108 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006126/0.6444, allocations: 1.503 MB / 0.9123 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005468/0.6498, allocations: 1.287 MB / 0.9135 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.6499, allocations: 0 / 0.9135 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/0.6506, allocations: 378.9 kB / 0.9139 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.651, allocations: 20.11 kB / 0.9139 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.6528, allocations: 135.8 kB / 0.914 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.653, allocations: 72.55 kB / 0.9141 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006807/0.6598, allocations: 1.534 MB / 0.9156 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005655/0.6654, allocations: 1.897 MB / 0.9174 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001658/0.6671, allocations: 0.4934 MB / 0.9179 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00173/0.6689, allocations: 1.01 MB / 0.9189 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of Backend: time 3.91e-07/0.6689, allocations: 0 / 0.9189 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007362/0.6762, allocations: 2.258 MB / 0.9211 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006652/0.6829, allocations: 3.711 MB / 0.9247 GB, free: 440 kB / 0.6856 GB Notification: Performance of Templates: time 0.3812/1.064, allocations: 47.33 MB / 0.971 GB, free: 176.7 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)