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.66/1.66, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001017/0.001017, allocations: 183.5 kB / 371.6 MB, free: 3.422 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.817/1.817, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.000947/0.0009472, allocations: 89.34 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.555e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3073, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.959/2.266, allocations: 423.9 MB / 1.394 GB, free: 258.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003884/2.267, allocations: 93.8 kB / 1.394 GB, free: 258.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.767/4.034, allocations: 0.55 GB / 1.944 GB, free: 151.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.253e-06/4.034, allocations: 0 / 1.944 GB, free: 151.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001752/4.034, allocations: 48.16 kB / 1.944 GB, free: 151.5 MB / 0.948 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.003963/4.038, allocations: 1.965 MB / 1.946 GB, free: 150.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/4.038, allocations: 11.84 kB / 1.946 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/4.043, allocations: 0.6826 MB / 1.947 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/4.047, allocations: 1.853 MB / 1.948 GB, free: 148.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/4.047, allocations: 145 kB / 1.949 GB, free: 148.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/4.047, allocations: 134.4 kB / 1.949 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/4.05, allocations: 1.627 MB / 1.95 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/4.05, allocations: 0 / 1.95 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/4.051, allocations: 59.89 kB / 1.95 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/4.051, allocations: 40.39 kB / 1.95 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/4.053, allocations: 1.239 MB / 1.952 GB, free: 146.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01099/4.064, allocations: 7.412 MB / 1.959 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/4.065, allocations: 0.6883 MB / 1.959 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/4.065, allocations: 395.9 kB / 1.96 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/4.067, allocations: 1.275 MB / 1.961 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/4.067, allocations: 45.31 kB / 1.961 GB, free: 138.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 3.346e-06/4.067, allocations: 0 / 1.961 GB, free: 138.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.003413/4.07, allocations: 1.02 MB / 1.962 GB, free: 137.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/4.07, allocations: 191.5 kB / 1.962 GB, free: 137.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/4.072, allocations: 1.283 MB / 1.964 GB, free: 137.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/4.072, allocations: 48.67 kB / 1.964 GB, free: 137 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/4.073, allocations: 0.7612 MB / 1.964 GB, free: 136.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/4.073, allocations: 276.5 kB / 1.965 GB, free: 136.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/4.073, allocations: 15.97 kB / 1.965 GB, free: 136.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.002e-05/4.073, allocations: 337.6 kB / 1.965 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/4.074, allocations: 372.7 kB / 1.965 GB, free: 135.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/4.074, allocations: 0.6675 MB / 1.966 GB, free: 135.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/4.075, allocations: 421.5 kB / 1.966 GB, free: 134.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/4.075, allocations: 3.75 kB / 1.966 GB, free: 134.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003513/4.079, allocations: 1.331 MB / 1.968 GB, free: 134.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005285/4.079, allocations: 2.5 MB / 1.97 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/4.079, allocations: 7.75 kB / 1.97 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/4.08, allocations: 428.9 kB / 1.97 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/4.082, allocations: 269.7 kB / 1.971 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008641/4.083, allocations: 0.9124 MB / 1.972 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/4.085, allocations: 297.1 kB / 1.972 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/4.085, allocations: 59.42 kB / 1.972 GB, free: 130.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/4.085, allocations: 3.062 kB / 1.972 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003246/4.089, allocations: 1.162 MB / 1.973 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/4.089, allocations: 3.938 kB / 1.973 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/4.09, allocations: 423.1 kB / 1.974 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/4.091, allocations: 268.1 kB / 1.974 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007769/4.092, allocations: 0.9075 MB / 1.975 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/4.094, allocations: 267.1 kB / 1.975 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/4.094, allocations: 55.95 kB / 1.975 GB, free: 128.3 MB / 0.948 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 () * 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.0003563/4.095, allocations: 180 kB / 1.975 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/4.095, allocations: 158.1 kB / 1.975 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/4.099, allocations: 1.103 MB / 1.976 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/4.099, allocations: 11.94 kB / 1.976 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/4.099, allocations: 4 kB / 1.976 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002599/4.101, allocations: 0.9606 MB / 1.977 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006305/4.107, allocations: 3.014 MB / 1.98 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/4.108, allocations: 4 kB / 1.98 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/4.108, allocations: 176.1 kB / 1.98 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/4.11, allocations: 414.7 kB / 1.981 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/4.11, allocations: 31.97 kB / 1.981 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007848/4.11, allocations: 0.9014 MB / 1.982 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/4.11, allocations: 4 kB / 1.982 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009664/4.12, allocations: 2.426 MB / 1.984 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/4.121, allocations: 422.8 kB / 1.985 GB, free: 118.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/4.122, allocations: 24 kB / 1.985 GB, free: 118.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/4.124, allocations: 171.7 kB / 1.985 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/4.124, allocations: 80.39 kB / 1.985 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/4.124, allocations: 51.94 kB / 1.985 GB, free: 117.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001696/4.126, allocations: 1.006 MB / 1.986 GB, free: 116.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/4.126, allocations: 0 / 1.986 GB, free: 116.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003451/4.129, allocations: 1.041 MB / 1.987 GB, free: 115.8 MB / 0.948 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) * 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.001845/4.131, allocations: 0.9141 MB / 1.988 GB, free: 115 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00267/4.134, allocations: 1.522 MB / 1.989 GB, free: 113.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/4.134, allocations: 3.781 kB / 1.989 GB, free: 113.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007791/4.134, allocations: 499.8 kB / 1.99 GB, free: 113 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/4.138, allocations: 0.8039 MB / 1.99 GB, free: 112.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/4.143, allocations: 2.134 MB / 1.993 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/4.143, allocations: 1.304 MB / 1.994 GB, free: 108.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002421/4.146, allocations: 487.9 kB / 1.994 GB, free: 108.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/4.146, allocations: 111.3 kB / 1.994 GB, free: 108.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.613e-06/4.146, allocations: 4 kB / 1.994 GB, free: 108.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06468/4.211, allocations: 44.94 MB / 2.038 GB, free: 63.65 MB / 0.948 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)