Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.6 MB / 307.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.001209, allocations: 188.2 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 0.6367 GB, free: 9.492 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 92.3 kB / 0.751 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 0.8748 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2901, allocations: 116.3 MB / 0.9884 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.539/1.829, allocations: 424 MB / 1.402 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.83, allocations: 97.48 kB / 1.403 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.781/3.611, allocations: 0.5518 GB / 1.954 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.232e-06/3.611, allocations: 0 / 1.954 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002684/3.611, allocations: 45.66 kB / 1.954 GB, free: 124.8 MB / 0.9323 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.006117/3.617, allocations: 2.252 MB / 1.957 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/3.617, allocations: 8.031 kB / 1.957 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005206/3.622, allocations: 0.6893 MB / 1.957 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/3.626, allocations: 1.861 MB / 1.959 GB, free: 120 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/3.626, allocations: 148 kB / 1.959 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/3.627, allocations: 136 kB / 1.959 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/3.631, allocations: 1.805 MB / 1.961 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/3.631, allocations: 7.938 kB / 1.961 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/3.631, allocations: 56 kB / 1.961 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/3.631, allocations: 40 kB / 1.961 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004593/3.635, allocations: 1.579 MB / 1.963 GB, free: 116.1 MB / 0.9323 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.01092/3.646, allocations: 7.397 MB / 1.97 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/3.649, allocations: 0.8263 MB / 1.971 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/3.65, allocations: 1.276 MB / 1.972 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/3.65, allocations: 43.22 kB / 1.972 GB, free: 106 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=77): time 3.326e-06/3.65, allocations: 0 / 1.972 GB, free: 106 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77): time 0.02466/3.674, allocations: 3.678 MB / 1.976 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/3.675, allocations: 192.6 kB / 1.976 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/3.677, allocations: 1.32 MB / 1.977 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/3.677, allocations: 53.69 kB / 1.977 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/3.678, allocations: 0.7584 MB / 1.978 GB, free: 99.95 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/3.678, allocations: 263.1 kB / 1.978 GB, free: 99.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/3.678, allocations: 20 kB / 1.978 GB, free: 99.68 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/3.679, allocations: 341.9 kB / 1.978 GB, free: 99.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/3.68, allocations: 0.5211 MB / 1.979 GB, free: 98.82 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/3.682, allocations: 0.8477 MB / 1.98 GB, free: 97.84 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/3.684, allocations: 0.5711 MB / 1.98 GB, free: 97.28 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/3.684, allocations: 0 / 1.98 GB, free: 97.28 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006549/3.691, allocations: 1.7 MB / 1.982 GB, free: 95.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004679/3.691, allocations: 2.507 MB / 1.984 GB, free: 92.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/3.691, allocations: 9.203 kB / 1.984 GB, free: 92.81 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/3.693, allocations: 490.5 kB / 1.985 GB, free: 92.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/3.695, allocations: 277.6 kB / 1.985 GB, free: 92.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/3.696, allocations: 0.9942 MB / 1.986 GB, free: 91.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/3.699, allocations: 302.5 kB / 1.986 GB, free: 90.76 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/3.699, allocations: 63.94 kB / 1.987 GB, free: 90.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/3.699, allocations: 4 kB / 1.987 GB, free: 90.69 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006192/3.705, allocations: 1.533 MB / 1.988 GB, free: 89.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/3.705, allocations: 8 kB / 1.988 GB, free: 89.15 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/3.707, allocations: 488.1 kB / 1.989 GB, free: 88.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/3.708, allocations: 271.6 kB / 1.989 GB, free: 88.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/3.71, allocations: 1.004 MB / 1.99 GB, free: 87.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/3.712, allocations: 270.7 kB / 1.99 GB, free: 87.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/3.712, allocations: 59.81 kB / 1.99 GB, free: 87.07 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (98): * Single equations (assignments): 97 * 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.001219/3.714, allocations: 487.3 kB / 1.991 GB, free: 86.59 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/3.714, allocations: 154.1 kB / 1.991 GB, free: 86.43 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/3.72, allocations: 1.415 MB / 1.992 GB, free: 85 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/3.72, allocations: 8 kB / 1.992 GB, free: 84.99 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/3.72, allocations: 0 / 1.992 GB, free: 84.99 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005122/3.725, allocations: 1.266 MB / 1.993 GB, free: 83.69 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/3.735, allocations: 3.316 MB / 1.997 GB, free: 80.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/3.735, allocations: 4 kB / 1.997 GB, free: 80.27 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/3.736, allocations: 175.8 kB / 1.997 GB, free: 80.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/3.738, allocations: 472.1 kB / 1.997 GB, free: 79.64 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/3.738, allocations: 27.97 kB / 1.997 GB, free: 79.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/3.74, allocations: 0.9895 MB / 1.998 GB, free: 78.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/3.74, allocations: 8.062 kB / 1.998 GB, free: 78.59 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/3.755, allocations: 2.867 MB / 2.001 GB, free: 75.53 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002222/3.757, allocations: 422.8 kB / 2.001 GB, free: 75.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009868/3.758, allocations: 24 kB / 2.001 GB, free: 75.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00301/3.761, allocations: 171.7 kB / 2.002 GB, free: 74.91 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/3.761, allocations: 84.33 kB / 2.002 GB, free: 74.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/3.762, allocations: 51.94 kB / 2.002 GB, free: 74.77 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003291/3.765, allocations: 1.05 MB / 2.003 GB, free: 73.73 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2e-07/3.765, allocations: 0 / 2.003 GB, free: 73.73 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005797/3.771, allocations: 1.041 MB / 2.004 GB, free: 72.68 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (59): * Single equations (assignments): 56 * 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.002661/3.773, allocations: 0.9008 MB / 2.005 GB, free: 71.86 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00701/3.78, allocations: 1.929 MB / 2.006 GB, free: 69.94 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/3.781, allocations: 0.5 kB / 2.006 GB, free: 69.94 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/3.783, allocations: 0.6234 MB / 2.007 GB, free: 69.31 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004653/3.787, allocations: 0.8111 MB / 2.008 GB, free: 68.51 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008078/3.795, allocations: 3.423 MB / 2.011 GB, free: 65.01 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/3.797, allocations: 1.301 MB / 2.013 GB, free: 63.68 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002648/3.799, allocations: 390.8 kB / 2.013 GB, free: 63.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/3.8, allocations: 139.3 kB / 2.013 GB, free: 63.16 MB / 0.9323 GB Notification: Performance of SimCode: time 1.032e-06/3.8, allocations: 4 kB / 2.013 GB, free: 63.16 MB / 0.9323 GB Notification: Performance of Templates: time 0.06308/3.863, allocations: 41.71 MB / 2.054 GB, free: 21.77 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)