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.623/1.623, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001152/0.001153, allocations: 176.9 kB / 366.7 MB, free: 1.645 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.902/1.902, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009118/0.000912, allocations: 96.55 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.843e-05/1.843e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7212, allocations: 116.3 MB / 0.9732 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.745, allocations: 426.9 MB / 1.39 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.746, allocations: 96.7 kB / 1.39 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.604/3.35, allocations: 0.5506 GB / 1.941 GB, free: 51.56 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884e-06/3.35, allocations: 0 / 1.941 GB, free: 51.56 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001453/3.35, allocations: 47.92 kB / 1.941 GB, free: 51.52 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.003545/3.353, allocations: 1.957 MB / 1.943 GB, free: 49.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/3.354, allocations: 8.031 kB / 1.943 GB, free: 49.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006814/3.36, allocations: 0.6729 MB / 1.943 GB, free: 48.81 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006175/3.367, allocations: 1.854 MB / 1.945 GB, free: 46.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/3.367, allocations: 92.14 kB / 1.945 GB, free: 46.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003099/3.367, allocations: 83.95 kB / 1.945 GB, free: 46.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003154/3.37, allocations: 1.11 MB / 1.947 GB, free: 45.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/3.374, allocations: 1.366 MB / 1.948 GB, free: 44.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/3.374, allocations: 11.94 kB / 1.948 GB, free: 44.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/3.374, allocations: 0 / 1.948 GB, free: 44.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/3.374, allocations: 43.98 kB / 1.948 GB, free: 44.09 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.01396/3.388, allocations: 7.289 MB / 1.955 GB, free: 36.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/3.39, allocations: 0.8999 MB / 1.956 GB, free: 35.53 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009006/3.391, allocations: 456.2 kB / 1.956 GB, free: 35.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/3.392, allocations: 1.275 MB / 1.958 GB, free: 33.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/3.393, allocations: 0.5511 MB / 1.958 GB, free: 32.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.418e-06/3.394, allocations: 0 / 1.958 GB, free: 32.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.007664/3.401, allocations: 1.276 MB / 1.959 GB, free: 31.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/3.401, allocations: 171 kB / 1.96 GB, free: 31.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/3.404, allocations: 0.9945 MB / 1.96 GB, free: 30.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/3.404, allocations: 37.62 kB / 1.961 GB, free: 30.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/3.405, allocations: 0.7457 MB / 1.961 GB, free: 29.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000337/3.405, allocations: 264.1 kB / 1.962 GB, free: 29.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/3.405, allocations: 0 / 1.962 GB, free: 29.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/3.405, allocations: 338 kB / 1.962 GB, free: 29.08 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008686/3.406, allocations: 374.5 kB / 1.962 GB, free: 28.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/3.407, allocations: 0.6624 MB / 1.963 GB, free: 27.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/3.41, allocations: 0.5413 MB / 1.963 GB, free: 27.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/3.41, allocations: 3.953 kB / 1.963 GB, free: 27.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005253/3.416, allocations: 1.37 MB / 1.965 GB, free: 26.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004663/3.416, allocations: 2.386 MB / 1.967 GB, free: 23.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/3.416, allocations: 4 kB / 1.967 GB, free: 23.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/3.418, allocations: 428.6 kB / 1.967 GB, free: 23.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/3.42, allocations: 251.6 kB / 1.968 GB, free: 22.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/3.422, allocations: 1.155 MB / 1.969 GB, free: 21.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/3.425, allocations: 207.1 kB / 1.969 GB, free: 21.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/3.426, allocations: 59.95 kB / 1.969 GB, free: 21.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/3.426, allocations: 5.875 kB / 1.969 GB, free: 21.34 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004784/3.43, allocations: 1.186 MB / 1.97 GB, free: 20.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/3.43, allocations: 8 kB / 1.97 GB, free: 20.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008151/3.431, allocations: 433.5 kB / 1.971 GB, free: 19.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/3.432, allocations: 247.5 kB / 1.971 GB, free: 19.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/3.434, allocations: 1.154 MB / 1.972 GB, free: 18.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/3.436, allocations: 183.2 kB / 1.972 GB, free: 18.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/3.436, allocations: 55.94 kB / 1.972 GB, free: 18.07 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.0003124/3.436, allocations: 132.8 kB / 1.972 GB, free: 17.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/3.437, allocations: 142.3 kB / 1.973 GB, free: 17.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/3.439, allocations: 1.292 MB / 1.974 GB, free: 16.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/3.439, allocations: 15.94 kB / 1.974 GB, free: 16.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/3.439, allocations: 3.953 kB / 1.974 GB, free: 16.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001715/3.441, allocations: 1.093 MB / 1.975 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/3.445, allocations: 2.822 MB / 1.978 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/3.445, allocations: 128 / 1.978 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/3.447, allocations: 183.7 kB / 1.978 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/3.447, allocations: 424.9 kB / 1.978 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/3.447, allocations: 27.95 kB / 1.978 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/3.449, allocations: 1.142 MB / 1.979 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/3.449, allocations: 0 / 1.979 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/3.451, allocations: 1.336 MB / 1.981 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000716/3.452, allocations: 411 kB / 1.981 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/3.452, allocations: 8 kB / 1.981 GB, free: 8.844 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/3.454, allocations: 151.7 kB / 1.981 GB, free: 8.695 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/3.454, allocations: 56.66 kB / 1.981 GB, free: 8.641 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/3.454, allocations: 59.92 kB / 1.981 GB, free: 8.582 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009976/3.455, allocations: 0.7591 MB / 1.982 GB, free: 7.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/3.455, allocations: 0 / 1.982 GB, free: 7.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002747/3.458, allocations: 1.04 MB / 1.983 GB, free: 6.777 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.002161/3.46, allocations: 1.164 MB / 1.984 GB, free: 5.656 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002481/3.462, allocations: 1.56 MB / 1.986 GB, free: 4.098 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/3.462, allocations: 0 / 1.986 GB, free: 4.098 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000696/3.463, allocations: 498.6 kB / 1.986 GB, free: 3.613 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/3.466, allocations: 0.6629 MB / 1.987 GB, free: 2.957 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/3.469, allocations: 1.885 MB / 1.989 GB, free: 1.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.559/4.028, allocations: 1.294 MB / 1.99 GB, free: 168.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002907/4.031, allocations: 458.1 kB / 1.99 GB, free: 168.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/4.032, allocations: 108.2 kB / 1.99 GB, free: 168.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.824e-06/4.032, allocations: 0 / 1.99 GB, free: 168.5 MB / 0.948 GB Notification: Performance of Templates: time 0.07685/4.108, allocations: 38.57 MB / 2.028 GB, free: 167.7 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)