Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.635/1.635, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009847/0.0009845, allocations: 171.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008024/0.0008025, allocations: 94.08 kB / 0.7808 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 17.23 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7337/0.7341, allocations: 120.3 MB / 1.026 GB, free: 56.85 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.884, allocations: 430.7 MB / 1.447 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.884, allocations: 93.44 kB / 1.447 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.645/3.529, allocations: 0.5568 GB / 2.004 GB, free: 65.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.114e-06/3.529, allocations: 0 / 2.004 GB, free: 65.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002645/3.53, allocations: 47.92 kB / 2.004 GB, free: 65.75 MB / 0.9792 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.006457/3.536, allocations: 2.223 MB / 2.006 GB, free: 63.46 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/3.536, allocations: 8.031 kB / 2.006 GB, free: 63.45 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/3.541, allocations: 0.6815 MB / 2.007 GB, free: 62.77 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/3.545, allocations: 1.873 MB / 2.008 GB, free: 60.84 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/3.546, allocations: 137.5 kB / 2.009 GB, free: 60.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/3.546, allocations: 127.9 kB / 2.009 GB, free: 60.57 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004901/3.551, allocations: 1.741 MB / 2.01 GB, free: 58.72 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.822e-05/3.551, allocations: 3.938 kB / 2.01 GB, free: 58.72 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/3.551, allocations: 56 kB / 2.01 GB, free: 58.66 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/3.551, allocations: 36 kB / 2.01 GB, free: 58.63 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/3.556, allocations: 1.535 MB / 2.012 GB, free: 57.09 MB / 0.9792 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.009485/3.565, allocations: 7.485 MB / 2.019 GB, free: 49.23 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/3.569, allocations: 1.208 MB / 2.02 GB, free: 48.01 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/3.57, allocations: 0.6217 MB / 2.021 GB, free: 47.39 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009777/3.571, allocations: 1.275 MB / 2.022 GB, free: 45.84 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/3.573, allocations: 0.7264 MB / 2.023 GB, free: 45.09 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=79): time 3.416e-06/3.573, allocations: 0 / 2.023 GB, free: 45.09 MB / 0.9792 GB Notification: Performance of matching and sorting (n=79): time 0.01939/3.592, allocations: 3.616 MB / 2.027 GB, free: 41.45 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/3.593, allocations: 162.9 kB / 2.027 GB, free: 41.25 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/3.595, allocations: 1.288 MB / 2.028 GB, free: 39.95 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/3.595, allocations: 45.7 kB / 2.028 GB, free: 39.89 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/3.596, allocations: 0.7348 MB / 2.029 GB, free: 39.15 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/3.596, allocations: 272.1 kB / 2.029 GB, free: 38.88 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/3.596, allocations: 20 kB / 2.029 GB, free: 38.86 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/3.596, allocations: 341.9 kB / 2.029 GB, free: 38.52 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/3.598, allocations: 0.5484 MB / 2.03 GB, free: 37.98 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/3.6, allocations: 0.853 MB / 2.031 GB, free: 37 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/3.603, allocations: 1.266 MB / 2.032 GB, free: 35.65 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/3.603, allocations: 0 / 2.032 GB, free: 35.65 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.004522/3.608, allocations: 1.695 MB / 2.034 GB, free: 33.95 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/3.608, allocations: 277.1 kB / 2.034 GB, free: 33.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/3.608, allocations: 4 kB / 2.034 GB, free: 33.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/3.609, allocations: 0.5627 MB / 2.034 GB, free: 33.02 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/3.611, allocations: 243.6 kB / 2.035 GB, free: 32.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/3.612, allocations: 1.186 MB / 2.036 GB, free: 31.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/3.614, allocations: 250.8 kB / 2.036 GB, free: 31.33 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/3.615, allocations: 55.94 kB / 2.036 GB, free: 31.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/3.615, allocations: 4 kB / 2.036 GB, free: 31.27 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004171/3.619, allocations: 1.507 MB / 2.038 GB, free: 29.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/3.619, allocations: 8.562 kB / 2.038 GB, free: 29.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/3.62, allocations: 0.5754 MB / 2.038 GB, free: 29.17 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/3.621, allocations: 239.5 kB / 2.038 GB, free: 28.94 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/3.623, allocations: 1.185 MB / 2.04 GB, free: 27.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/3.625, allocations: 215.2 kB / 2.04 GB, free: 27.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/3.625, allocations: 55.94 kB / 2.04 GB, free: 27.46 MB / 0.9792 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.001069/3.626, allocations: 465.6 kB / 2.04 GB, free: 27 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004268/3.627, allocations: 154.2 kB / 2.04 GB, free: 26.84 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/3.631, allocations: 1.673 MB / 2.042 GB, free: 25.15 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/3.631, allocations: 8 kB / 2.042 GB, free: 25.14 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/3.631, allocations: 4 kB / 2.042 GB, free: 25.14 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003684/3.635, allocations: 1.45 MB / 2.043 GB, free: 23.66 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007161/3.642, allocations: 3.322 MB / 2.047 GB, free: 20.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/3.642, allocations: 0 / 2.047 GB, free: 20.26 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009594/3.643, allocations: 179.9 kB / 2.047 GB, free: 20.08 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/3.645, allocations: 0.5515 MB / 2.047 GB, free: 19.53 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/3.645, allocations: 35.94 kB / 2.047 GB, free: 19.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/3.647, allocations: 1.175 MB / 2.049 GB, free: 18.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/3.647, allocations: 4 kB / 2.049 GB, free: 18.29 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004398/3.651, allocations: 1.651 MB / 2.05 GB, free: 16.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/3.652, allocations: 414.9 kB / 2.051 GB, free: 16.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000476/3.653, allocations: 16 kB / 2.051 GB, free: 16.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/3.655, allocations: 179.6 kB / 2.051 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/3.655, allocations: 52.52 kB / 2.051 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/3.655, allocations: 55.92 kB / 2.051 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001687/3.656, allocations: 0.8868 MB / 2.052 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.61e-07/3.657, allocations: 0 / 2.052 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00349/3.66, allocations: 1.029 MB / 2.053 GB, free: 13.96 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (56): * Single equations (assignments): 51 * 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.002551/3.663, allocations: 1.209 MB / 2.054 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00595/3.669, allocations: 2.07 MB / 2.056 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/3.669, allocations: 4 kB / 2.056 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/3.67, allocations: 0.6556 MB / 2.057 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004564/3.675, allocations: 0.7758 MB / 2.057 GB, free: 9.445 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00625/3.681, allocations: 3.28 MB / 2.061 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009383/3.682, allocations: 1.267 MB / 2.062 GB, free: 4.828 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002064/3.684, allocations: 380 kB / 2.062 GB, free: 4.453 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/3.685, allocations: 139.3 kB / 2.062 GB, free: 4.316 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/3.685, allocations: 0 / 2.062 GB, free: 4.316 MB / 0.9792 GB Notification: Performance of Templates: time 0.5607/4.245, allocations: 41.74 MB / 2.103 GB, free: 157.4 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)