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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 293 MB / 309 MB, free: 4.793 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.001402/0.001402, allocations: 176.3 kB / 378.7 MB, free: 1.016 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.68/1.68, allocations: 205.4 MB / 0.6383 GB, free: 8.25 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.0008101/0.00081, allocations: 95.05 kB / 0.7527 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004026, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.465/1.732, allocations: 427.8 MB / 1.408 GB, free: 276.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.732, allocations: 97.98 kB / 1.408 GB, free: 276.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.491/3.223, allocations: 0.5469 GB / 1.955 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.994e-06/3.223, allocations: 0 / 1.955 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002636/3.223, allocations: 48.47 kB / 1.955 GB, free: 122.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.005949/3.229, allocations: 2.223 MB / 1.957 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/3.229, allocations: 15.19 kB / 1.957 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004752/3.234, allocations: 0.6888 MB / 1.958 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/3.238, allocations: 1.868 MB / 1.96 GB, free: 118 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/3.238, allocations: 137.2 kB / 1.96 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/3.238, allocations: 124 kB / 1.96 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/3.243, allocations: 1.741 MB / 1.962 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/3.243, allocations: 7.875 kB / 1.962 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/3.243, allocations: 60 kB / 1.962 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/3.243, allocations: 32 kB / 1.962 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004527/3.248, allocations: 1.539 MB / 1.963 GB, free: 114.2 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.01096/3.259, allocations: 7.481 MB / 1.971 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/3.262, allocations: 1.217 MB / 1.972 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/3.264, allocations: 0.6166 MB / 1.973 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/3.265, allocations: 1.273 MB / 1.974 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002011/3.267, allocations: 0.7342 MB / 1.975 GB, free: 102.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=79): time 3.687e-06/3.267, allocations: 0 / 1.975 GB, free: 102.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79): time 0.02011/3.287, allocations: 3.607 MB / 1.978 GB, free: 98.72 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/3.287, allocations: 170.9 kB / 1.978 GB, free: 98.52 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/3.29, allocations: 1.292 MB / 1.979 GB, free: 97.21 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/3.29, allocations: 45.7 kB / 1.98 GB, free: 97.16 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005671/3.29, allocations: 0.7258 MB / 1.98 GB, free: 96.43 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/3.291, allocations: 279.4 kB / 1.981 GB, free: 96.16 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/3.291, allocations: 16 kB / 1.981 GB, free: 96.14 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/3.291, allocations: 349.8 kB / 1.981 GB, free: 95.79 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/3.293, allocations: 0.5406 MB / 1.981 GB, free: 95.25 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/3.295, allocations: 0.8595 MB / 1.982 GB, free: 94.27 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/3.298, allocations: 1.267 MB / 1.983 GB, free: 92.92 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/3.298, allocations: 4 kB / 1.983 GB, free: 92.92 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005094/3.303, allocations: 1.691 MB / 1.985 GB, free: 91.21 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/3.303, allocations: 273.3 kB / 1.985 GB, free: 90.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/3.303, allocations: 4 kB / 1.985 GB, free: 90.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/3.305, allocations: 0.5629 MB / 1.986 GB, free: 90.29 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/3.307, allocations: 247.6 kB / 1.986 GB, free: 90.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/3.308, allocations: 1.186 MB / 1.987 GB, free: 88.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/3.31, allocations: 242.9 kB / 1.988 GB, free: 88.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/3.311, allocations: 59.94 kB / 1.988 GB, free: 88.54 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/3.311, allocations: 4 kB / 1.988 GB, free: 88.54 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004176/3.315, allocations: 1.504 MB / 1.989 GB, free: 87.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/3.315, allocations: 4 kB / 1.989 GB, free: 87.03 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/3.316, allocations: 0.5786 MB / 1.99 GB, free: 86.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/3.318, allocations: 239.6 kB / 1.99 GB, free: 86.21 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/3.319, allocations: 1.178 MB / 1.991 GB, free: 85.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/3.321, allocations: 219 kB / 1.991 GB, free: 84.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/3.321, allocations: 55.95 kB / 1.991 GB, free: 84.74 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.001027/3.323, allocations: 472.8 kB / 1.992 GB, free: 84.27 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/3.323, allocations: 150.2 kB / 1.992 GB, free: 84.12 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/3.328, allocations: 1.665 MB / 1.994 GB, free: 82.43 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/3.328, allocations: 8 kB / 1.994 GB, free: 82.42 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/3.328, allocations: 0 / 1.994 GB, free: 82.42 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003733/3.331, allocations: 1.457 MB / 1.995 GB, free: 80.93 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0069/3.338, allocations: 3.316 MB / 1.998 GB, free: 77.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/3.338, allocations: 4 kB / 1.998 GB, free: 77.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/3.339, allocations: 191.8 kB / 1.998 GB, free: 77.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/3.341, allocations: 0.5515 MB / 1.999 GB, free: 76.81 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-05/3.341, allocations: 39.95 kB / 1.999 GB, free: 76.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/3.343, allocations: 1.166 MB / 2 GB, free: 75.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/3.343, allocations: 4 kB / 2 GB, free: 75.57 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/3.347, allocations: 1.643 MB / 2.002 GB, free: 73.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009916/3.348, allocations: 418.8 kB / 2.002 GB, free: 73.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004283/3.349, allocations: 22.25 kB / 2.002 GB, free: 73.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/3.35, allocations: 167.7 kB / 2.002 GB, free: 73.29 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/3.351, allocations: 52.58 kB / 2.002 GB, free: 73.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/3.351, allocations: 59.88 kB / 2.002 GB, free: 73.18 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001563/3.352, allocations: 0.8868 MB / 2.003 GB, free: 72.29 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/3.352, allocations: 0 / 2.003 GB, free: 72.29 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003499/3.356, allocations: 1.037 MB / 2.004 GB, free: 71.25 MB / 0.9323 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.002464/3.358, allocations: 1.19 MB / 2.005 GB, free: 70.26 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006135/3.364, allocations: 2.074 MB / 2.007 GB, free: 68.19 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/3.365, allocations: 0 / 2.007 GB, free: 68.19 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/3.366, allocations: 0.6556 MB / 2.008 GB, free: 67.54 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004428/3.371, allocations: 0.7704 MB / 2.009 GB, free: 66.77 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006614/3.378, allocations: 3.3 MB / 2.012 GB, free: 63.43 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/3.379, allocations: 1.263 MB / 2.013 GB, free: 62.14 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002375/3.381, allocations: 391.8 kB / 2.014 GB, free: 61.75 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/3.382, allocations: 143.3 kB / 2.014 GB, free: 61.61 MB / 0.9323 GB Notification: Performance of SimCode: time 1.233e-06/3.382, allocations: 0 / 2.014 GB, free: 61.61 MB / 0.9323 GB Notification: Performance of Templates: time 0.05752/3.439, allocations: 41.73 MB / 2.055 GB, free: 20.2 MB / 0.9323 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)