Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.491/2.491, allocations: 287.5 MB / 303.2 MB, free: 8.203 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.001406/0.001405, allocations: 179.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009204/0.0009198, allocations: 90.45 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.000462, allocations: 12.86 kB / 0.8667 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2046, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.497, allocations: 426.6 MB / 1.396 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.498, allocations: 99.45 kB / 1.396 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.074/4.571, allocations: 0.5469 GB / 1.943 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.394e-06/4.571, allocations: 0 / 1.943 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002828/4.572, allocations: 49.52 kB / 1.943 GB, free: 179.1 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007881/4.58, allocations: 2.22 MB / 1.945 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/4.58, allocations: 11 kB / 1.945 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009229/4.589, allocations: 0.681 MB / 1.946 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005521/4.595, allocations: 1.88 MB / 1.948 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/4.595, allocations: 130.4 kB / 1.948 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/4.595, allocations: 127.8 kB / 1.948 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006822/4.602, allocations: 1.753 MB / 1.95 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/4.602, allocations: 0 / 1.95 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/4.602, allocations: 55.59 kB / 1.95 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/4.602, allocations: 45 kB / 1.95 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008862/4.611, allocations: 1.539 MB / 1.951 GB, free: 173.9 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.01666/4.628, allocations: 7.493 MB / 1.958 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/4.641, allocations: 1.236 MB / 1.96 GB, free: 167 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003782/4.644, allocations: 0.6364 MB / 1.96 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/4.646, allocations: 1.272 MB / 1.962 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004242/4.65, allocations: 0.7519 MB / 1.962 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=80): time 5.37e-06/4.65, allocations: 0 / 1.962 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80): time 0.04414/4.695, allocations: 3.893 MB / 1.966 GB, free: 163 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/4.695, allocations: 169.4 kB / 1.966 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/4.697, allocations: 1.265 MB / 1.967 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003592/4.698, allocations: 49.02 kB / 1.967 GB, free: 162 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007425/4.698, allocations: 0.7249 MB / 1.968 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00041/4.699, allocations: 277.7 kB / 1.968 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/4.699, allocations: 19.16 kB / 1.968 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/4.699, allocations: 340.8 kB / 1.969 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003628/4.703, allocations: 0.5459 MB / 1.969 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/4.707, allocations: 0.8486 MB / 1.97 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/4.714, allocations: 1.287 MB / 1.971 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/4.714, allocations: 0 / 1.971 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009495/4.724, allocations: 1.687 MB / 1.973 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/4.724, allocations: 280.2 kB / 1.973 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/4.724, allocations: 4 kB / 1.973 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/4.727, allocations: 0.5664 MB / 1.974 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/4.73, allocations: 246.8 kB / 1.974 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/4.733, allocations: 1.182 MB / 1.975 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/4.737, allocations: 231.2 kB / 1.976 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002629/4.737, allocations: 59.94 kB / 1.976 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/4.737, allocations: 7.938 kB / 1.976 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008691/4.746, allocations: 1.5 MB / 1.977 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/4.746, allocations: 15.88 kB / 1.977 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/4.749, allocations: 0.5711 MB / 1.978 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/4.751, allocations: 241.8 kB / 1.978 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/4.754, allocations: 1.179 MB / 1.979 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/4.758, allocations: 212.8 kB / 1.979 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/4.758, allocations: 59.94 kB / 1.979 GB, free: 151.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001292/4.76, allocations: 472.8 kB / 1.98 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/4.76, allocations: 154.2 kB / 1.98 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009299/4.769, allocations: 1.673 MB / 1.981 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/4.77, allocations: 8 kB / 1.981 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/4.77, allocations: 1.781 kB / 1.981 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008261/4.778, allocations: 1.498 MB / 1.983 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/4.792, allocations: 3.83 MB / 1.987 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/4.792, allocations: 3.703 kB / 1.987 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/4.794, allocations: 191.9 kB / 1.987 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002932/4.797, allocations: 0.5503 MB / 1.987 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/4.797, allocations: 39.89 kB / 1.987 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/4.8, allocations: 1.169 MB / 1.989 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/4.8, allocations: 4 kB / 1.989 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00906/4.809, allocations: 1.712 MB / 1.99 GB, free: 140.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/4.811, allocations: 406.9 kB / 1.991 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000424/4.811, allocations: 27.94 kB / 1.991 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003463/4.815, allocations: 175.6 kB / 1.991 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/4.815, allocations: 56.52 kB / 1.991 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/4.815, allocations: 63.86 kB / 1.991 GB, free: 139.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001833/4.817, allocations: 0.8632 MB / 1.992 GB, free: 138.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/4.817, allocations: 0 / 1.992 GB, free: 138.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004412/4.821, allocations: 1.033 MB / 1.993 GB, free: 137.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003234/4.824, allocations: 1.183 MB / 1.994 GB, free: 136.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01217/4.837, allocations: 2.095 MB / 1.996 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/4.837, allocations: 4 kB / 1.996 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004022/4.841, allocations: 0.6868 MB / 1.997 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007774/4.849, allocations: 0.7728 MB / 1.997 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/4.86, allocations: 3.322 MB / 2.001 GB, free: 130 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/4.86, allocations: 1.263 MB / 2.002 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003114/4.864, allocations: 396.8 kB / 2.002 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000626/4.864, allocations: 147.3 kB / 2.002 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/4.864, allocations: 0 / 2.002 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.09334/4.958, allocations: 41.34 MB / 2.043 GB, free: 87.82 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)