Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001264/0.001264, allocations: 184.5 kB / 377.1 MB, free: 1.547 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.813/1.813, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.0009806/0.0009806, allocations: 93.09 kB / 0.751 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004624, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3031, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.672/1.975, allocations: 427.7 MB / 1.406 GB, free: 252 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.975, allocations: 96.09 kB / 1.406 GB, free: 252 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.683/3.658, allocations: 0.5553 GB / 1.961 GB, free: 130.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.466e-06/3.658, allocations: 3.984 kB / 1.961 GB, free: 130.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000174/3.659, allocations: 47.28 kB / 1.961 GB, free: 130.3 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.006165/3.665, allocations: 2.241 MB / 1.964 GB, free: 128 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/3.665, allocations: 11.97 kB / 1.964 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005665/3.67, allocations: 0.6888 MB / 1.964 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005453/3.676, allocations: 1.875 MB / 1.966 GB, free: 125.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/3.676, allocations: 136.1 kB / 1.966 GB, free: 125.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/3.676, allocations: 124.7 kB / 1.966 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/3.681, allocations: 1.731 MB / 1.968 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/3.681, allocations: 4 kB / 1.968 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/3.681, allocations: 55.28 kB / 1.968 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/3.681, allocations: 47.94 kB / 1.968 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/3.686, allocations: 1.527 MB / 1.97 GB, free: 121.7 MB / 0.948 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.01018/3.696, allocations: 7.519 MB / 1.977 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/3.7, allocations: 1.235 MB / 1.978 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/3.701, allocations: 1.272 MB / 1.979 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002159/3.703, allocations: 0.7224 MB / 1.98 GB, free: 110.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.579e-06/3.703, allocations: 7.922 kB / 1.98 GB, free: 110.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.02115/3.724, allocations: 3.581 MB / 1.984 GB, free: 106.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/3.725, allocations: 162.9 kB / 1.984 GB, free: 106.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/3.726, allocations: 1.193 MB / 1.985 GB, free: 105.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/3.727, allocations: 45.7 kB / 1.985 GB, free: 105.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/3.727, allocations: 0.7297 MB / 1.986 GB, free: 104.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/3.727, allocations: 270.9 kB / 1.986 GB, free: 104.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/3.727, allocations: 16 kB / 1.986 GB, free: 104.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.761e-05/3.728, allocations: 337.9 kB / 1.986 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/3.729, allocations: 0.5484 MB / 1.987 GB, free: 103.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/3.731, allocations: 0.8517 MB / 1.988 GB, free: 102.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/3.733, allocations: 0.5908 MB / 1.988 GB, free: 101.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/3.733, allocations: 0 / 1.988 GB, free: 101.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.004807/3.738, allocations: 1.695 MB / 1.99 GB, free: 100.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004289/3.738, allocations: 2.408 MB / 1.992 GB, free: 97.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/3.738, allocations: 4 kB / 1.992 GB, free: 97.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/3.74, allocations: 0.5746 MB / 1.993 GB, free: 97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/3.741, allocations: 251.5 kB / 1.993 GB, free: 96.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/3.743, allocations: 1.182 MB / 1.994 GB, free: 95.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/3.746, allocations: 254.8 kB / 1.995 GB, free: 95.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/3.746, allocations: 59.94 kB / 1.995 GB, free: 95.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/3.746, allocations: 4 kB / 1.995 GB, free: 95.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004366/3.75, allocations: 1.5 MB / 1.996 GB, free: 93.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/3.75, allocations: 8 kB / 1.996 GB, free: 93.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/3.752, allocations: 0.5752 MB / 1.997 GB, free: 93.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/3.753, allocations: 239.6 kB / 1.997 GB, free: 92.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/3.755, allocations: 1.178 MB / 1.998 GB, free: 91.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/3.757, allocations: 226.9 kB / 1.998 GB, free: 91.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/3.758, allocations: 55.95 kB / 1.998 GB, free: 91.43 MB / 0.948 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.001108/3.759, allocations: 473.6 kB / 1.999 GB, free: 90.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/3.759, allocations: 146.2 kB / 1.999 GB, free: 90.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/3.764, allocations: 1.669 MB / 2 GB, free: 89.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/3.764, allocations: 8 kB / 2 GB, free: 89.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/3.764, allocations: 0 / 2 GB, free: 89.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003951/3.768, allocations: 1.454 MB / 2.002 GB, free: 87.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007625/3.775, allocations: 3.341 MB / 2.005 GB, free: 84.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/3.776, allocations: 8.125 kB / 2.005 GB, free: 84.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/3.777, allocations: 183.7 kB / 2.005 GB, free: 84.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/3.778, allocations: 0.5474 MB / 2.006 GB, free: 83.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/3.778, allocations: 35.95 kB / 2.006 GB, free: 83.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/3.78, allocations: 1.169 MB / 2.007 GB, free: 82.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/3.78, allocations: 0 / 2.007 GB, free: 82.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004986/3.785, allocations: 1.707 MB / 2.009 GB, free: 80.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/3.786, allocations: 422.8 kB / 2.009 GB, free: 80.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/3.787, allocations: 24 kB / 2.009 GB, free: 80.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/3.788, allocations: 167.7 kB / 2.009 GB, free: 79.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/3.788, allocations: 52.58 kB / 2.009 GB, free: 79.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/3.789, allocations: 51.94 kB / 2.009 GB, free: 79.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001306/3.79, allocations: 0.9297 MB / 2.01 GB, free: 78.83 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/3.79, allocations: 0 / 2.01 GB, free: 78.83 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003173/3.793, allocations: 1.075 MB / 2.011 GB, free: 77.75 MB / 0.948 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.002557/3.796, allocations: 1.243 MB / 2.013 GB, free: 76.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00637/3.802, allocations: 2.066 MB / 2.015 GB, free: 74.65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/3.802, allocations: 4 kB / 2.015 GB, free: 74.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/3.804, allocations: 0.6701 MB / 2.015 GB, free: 73.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/3.808, allocations: 0.7681 MB / 2.016 GB, free: 73.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/3.814, allocations: 3.284 MB / 2.019 GB, free: 69.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/3.814, allocations: 1.294 MB / 2.02 GB, free: 68.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002016/3.816, allocations: 395.8 kB / 2.021 GB, free: 68.19 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/3.817, allocations: 147.3 kB / 2.021 GB, free: 68.04 MB / 0.948 GB Notification: Performance of SimCode: time 1.452e-06/3.817, allocations: 0 / 2.021 GB, free: 68.04 MB / 0.948 GB Notification: Performance of Templates: time 0.05924/3.876, allocations: 41.92 MB / 2.062 GB, free: 26.44 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)