Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001272/0.001272, allocations: 88.25 kB / 16.67 MB, free: 6.594 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.001433/0.001433, allocations: 187.7 kB / 17.58 MB, free: 6.188 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.871/1.871, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7412/0.7412, allocations: 115.5 MB / 408.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.00039, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4554, allocations: 77.52 MB / 0.5606 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.06139/0.5168, allocations: 68.24 MB / 0.6272 GB, free: 15 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02154/0.5384, allocations: 14.33 MB / 0.6412 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.5419, allocations: 63.62 kB / 0.6413 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.5449, allocations: 0.7653 MB / 0.642 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007679/0.5526, allocations: 2.36 MB / 0.6443 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005432/0.558, allocations: 1.865 MB / 0.6462 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007931/0.566, allocations: 6.112 MB / 0.6521 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.5688, allocations: 1.545 MB / 0.6536 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003759/0.5726, allocations: 1.478 MB / 0.6551 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.5749, allocations: 1.256 MB / 0.6563 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.5753, allocations: 72 kB / 0.6564 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004152/0.5794, allocations: 1.762 MB / 0.6581 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.5799, allocations: 362.3 kB / 0.6584 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.5813, allocations: 0.9693 MB / 0.6594 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00387/0.5852, allocations: 2.895 MB / 0.6622 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5852, allocations: 0 / 0.6622 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5852, allocations: 0 / 0.6622 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.142e-05/0.5853, allocations: 0 / 0.6622 GB, free: 11.05 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.004386/0.5897, allocations: 2.089 MB / 0.6643 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5897, allocations: 8.031 kB / 0.6643 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/0.5953, allocations: 0.7556 MB / 0.665 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/0.5983, allocations: 1.673 MB / 0.6666 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.5985, allocations: 140.3 kB / 0.6668 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.5987, allocations: 139.9 kB / 0.6669 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004333/0.6031, allocations: 1.849 MB / 0.6687 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.6031, allocations: 0 / 0.6687 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.6033, allocations: 63.94 kB / 0.6688 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/0.6034, allocations: 39.98 kB / 0.6688 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004925/0.6083, allocations: 1.622 MB / 0.6704 GB, free: 2.449 MB / 0.4981 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.01106/0.6194, allocations: 7.575 MB / 0.6778 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.6218, allocations: 0.8928 MB / 0.6787 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.6236, allocations: 0.5614 MB / 0.6792 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.6249, allocations: 1.282 MB / 0.6805 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.6249, allocations: 43.22 kB / 0.6805 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=81): time 4.138e-06/0.625, allocations: 4 kB / 0.6805 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=81): time 0.01831/0.6433, allocations: 2.831 MB / 0.6833 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.6434, allocations: 192.6 kB / 0.6835 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.6464, allocations: 1.433 MB / 0.6849 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.6467, allocations: 53.7 kB / 0.6849 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008032/0.6475, allocations: 0.7509 MB / 0.6856 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/0.6479, allocations: 276 kB / 0.6859 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.6481, allocations: 97.66 kB / 0.686 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6483, allocations: 349.9 kB / 0.6863 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/0.6504, allocations: 0.553 MB / 0.6869 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.6529, allocations: 0.872 MB / 0.6877 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004038/0.6569, allocations: 1.249 MB / 0.6889 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.6569, allocations: 0 / 0.6889 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01343/0.6704, allocations: 2.262 MB / 0.6911 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.6707, allocations: 291.6 kB / 0.6914 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.6707, allocations: 7.984 kB / 0.6914 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/0.6726, allocations: 488.7 kB / 0.6919 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.6743, allocations: 279.5 kB / 0.6922 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.6761, allocations: 0.9994 MB / 0.6931 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/0.679, allocations: 298.6 kB / 0.6934 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/0.6793, allocations: 67.89 kB / 0.6935 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.6793, allocations: 0 / 0.6935 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01308/0.6924, allocations: 2.1 MB / 0.6955 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/0.6925, allocations: 8.5 kB / 0.6956 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.6943, allocations: 495.4 kB / 0.696 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.6959, allocations: 271.6 kB / 0.6963 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.6977, allocations: 1.004 MB / 0.6973 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/0.7008, allocations: 271.6 kB / 0.6975 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/0.7012, allocations: 63.94 kB / 0.6976 GB, free: 5.461 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 (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.001466/0.7026, allocations: 482 kB / 0.698 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007042/0.7033, allocations: 158.1 kB / 0.6982 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/0.7101, allocations: 1.531 MB / 0.6997 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.7101, allocations: 16 kB / 0.6997 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.7101, allocations: 0 / 0.6997 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005521/0.7156, allocations: 1.311 MB / 0.701 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.7326, allocations: 3.853 MB / 0.7047 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-05/0.7327, allocations: 4 kB / 0.7048 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.7339, allocations: 183.8 kB / 0.7049 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.7358, allocations: 487.7 kB / 0.7054 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.736, allocations: 27.97 kB / 0.7054 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.7379, allocations: 1.003 MB / 0.7064 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7379, allocations: 4 kB / 0.7064 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008784/0.7467, allocations: 2.191 MB / 0.7085 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.748, allocations: 422.7 kB / 0.7089 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005513/0.7486, allocations: 28 kB / 0.709 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/0.7509, allocations: 182.1 kB / 0.7091 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.7511, allocations: 76.39 kB / 0.7092 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.7513, allocations: 55.88 kB / 0.7093 GB, free: 9.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002403/0.7537, allocations: 1.023 MB / 0.7103 GB, free: 8.176 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7537, allocations: 0 / 0.7103 GB, free: 8.176 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004056/0.7578, allocations: 0.9589 MB / 0.7112 GB, free: 7.215 MB / 0.545 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 (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 Backend phase and start with SimCode phase: time 0.001789/0.7596, allocations: 0.559 MB / 0.7118 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007621/0.7672, allocations: 2.028 MB / 0.7137 GB, free: 4.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/0.7673, allocations: 8 kB / 0.7137 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.7695, allocations: 0.6319 MB / 0.7144 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00602/0.7755, allocations: 0.8175 MB / 0.7152 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008075/0.7836, allocations: 3.632 MB / 0.7187 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.7849, allocations: 1.262 MB / 0.7199 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007224/0.7856, allocations: 171.3 kB / 0.7201 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.7857, allocations: 0 / 0.7201 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.3818/1.167, allocations: 38.63 MB / 0.7578 GB, free: 163.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)