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.66/1.66, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001108/0.001108, allocations: 181.7 kB / 371.6 MB, free: 3.406 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.002/2.002, 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.001079/0.001079, allocations: 89.92 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.96e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.329, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.636/1.965, allocations: 427.6 MB / 1.397 GB, free: 296.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.966, allocations: 91.73 kB / 1.397 GB, free: 296.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.835/3.801, allocations: 0.5534 GB / 1.951 GB, free: 156.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.552e-06/3.801, allocations: 3.031 kB / 1.951 GB, free: 156.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001681/3.801, allocations: 49.06 kB / 1.951 GB, free: 156.1 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.004637/3.806, allocations: 1.954 MB / 1.953 GB, free: 154.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/3.806, allocations: 7.75 kB / 1.953 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/3.811, allocations: 0.6804 MB / 1.953 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/3.815, allocations: 1.863 MB / 1.955 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/3.815, allocations: 137.2 kB / 1.955 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/3.815, allocations: 127.2 kB / 1.956 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/3.818, allocations: 1.55 MB / 1.957 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/3.818, allocations: 0 / 1.957 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/3.818, allocations: 54.25 kB / 1.957 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/3.818, allocations: 40.2 kB / 1.957 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/3.82, allocations: 1.192 MB / 1.958 GB, free: 151.3 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.01008/3.83, allocations: 7.534 MB / 1.966 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/3.832, allocations: 0.9225 MB / 1.967 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/3.832, allocations: 471.7 kB / 1.967 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/3.834, allocations: 1.279 MB / 1.968 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009164/3.835, allocations: 0.5732 MB / 1.969 GB, free: 142.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.268e-06/3.835, allocations: 0 / 1.969 GB, free: 142.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.003824/3.838, allocations: 1.215 MB / 1.97 GB, free: 141.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/3.838, allocations: 162.9 kB / 1.97 GB, free: 141.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/3.84, allocations: 1.162 MB / 1.971 GB, free: 141.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/3.84, allocations: 49.39 kB / 1.971 GB, free: 141 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/3.841, allocations: 0.7343 MB / 1.972 GB, free: 140.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/3.841, allocations: 269.9 kB / 1.972 GB, free: 140.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/3.841, allocations: 19.72 kB / 1.972 GB, free: 140.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.173e-05/3.842, allocations: 335.9 kB / 1.973 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/3.842, allocations: 392.5 kB / 1.973 GB, free: 139.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/3.843, allocations: 0.6812 MB / 1.974 GB, free: 139.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/3.844, allocations: 438.9 kB / 1.974 GB, free: 138.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/3.844, allocations: 7.719 kB / 1.974 GB, free: 138.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00236/3.846, allocations: 1.322 MB / 1.975 GB, free: 138.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005574/3.847, allocations: 2.404 MB / 1.978 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/3.847, allocations: 3.938 kB / 1.978 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/3.848, allocations: 0.5075 MB / 1.978 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/3.849, allocations: 250.9 kB / 1.979 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/3.851, allocations: 1.089 MB / 1.98 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/3.853, allocations: 250.2 kB / 1.98 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/3.854, allocations: 51.08 kB / 1.98 GB, free: 134.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/3.854, allocations: 3.969 kB / 1.98 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001961/3.856, allocations: 1.163 MB / 1.981 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/3.856, allocations: 7.906 kB / 1.981 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/3.857, allocations: 0.5047 MB / 1.982 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/3.858, allocations: 243.6 kB / 1.982 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/3.86, allocations: 1.083 MB / 1.983 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/3.862, allocations: 226.8 kB / 1.983 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/3.862, allocations: 61.42 kB / 1.983 GB, free: 132.7 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 () * 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.0003898/3.863, allocations: 168.4 kB / 1.983 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/3.863, allocations: 151.3 kB / 1.983 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/3.865, allocations: 1.35 MB / 1.985 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/3.866, allocations: 11.41 kB / 1.985 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/3.866, allocations: 7.781 kB / 1.985 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001701/3.867, allocations: 1.123 MB / 1.986 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/3.873, allocations: 2.997 MB / 1.989 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/3.873, allocations: 0 / 1.989 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/3.874, allocations: 182.8 kB / 1.989 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/3.875, allocations: 0.5012 MB / 1.989 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/3.875, allocations: 41.28 kB / 1.989 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/3.877, allocations: 1.069 MB / 1.99 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/3.877, allocations: 3.938 kB / 1.99 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/3.879, allocations: 1.37 MB / 1.992 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/3.881, allocations: 418.9 kB / 1.992 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006201/3.881, allocations: 27.94 kB / 1.992 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/3.884, allocations: 168.1 kB / 1.992 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/3.884, allocations: 48.7 kB / 1.992 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/3.884, allocations: 55.92 kB / 1.993 GB, free: 126 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002013/3.886, allocations: 0.9009 MB / 1.993 GB, free: 125.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/3.886, allocations: 4 kB / 1.993 GB, free: 125.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004935/3.891, allocations: 1.072 MB / 1.994 GB, free: 124 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) * 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.00329/3.894, allocations: 1.197 MB / 1.996 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003238/3.897, allocations: 1.643 MB / 1.997 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/3.897, allocations: 7.938 kB / 1.997 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008811/3.898, allocations: 0.5049 MB / 1.998 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/3.903, allocations: 0.7702 MB / 1.998 GB, free: 120.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/3.907, allocations: 1.942 MB / 2 GB, free: 118.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/3.908, allocations: 1.304 MB / 2.002 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002591/3.911, allocations: 486.2 kB / 2.002 GB, free: 116.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/3.911, allocations: 119.3 kB / 2.002 GB, free: 116.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/3.911, allocations: 0 / 2.002 GB, free: 116.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06998/3.981, allocations: 45.16 MB / 2.046 GB, free: 71.75 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)