Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 285.4 MB / 298 MB, free: 6.016 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: 176.8 kB / 366.4 MB, free: 2.105 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.832/1.832, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008557/0.0008554, allocations: 100.7 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.672e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7942/0.7942, allocations: 115.3 MB / 0.9709 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.913, allocations: 426.6 MB / 1.387 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.913, allocations: 92.69 kB / 1.388 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.696/3.609, allocations: 0.5534 GB / 1.941 GB, free: 21.96 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.887e-06/3.609, allocations: 0 / 1.941 GB, free: 21.96 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003608/3.61, allocations: 51.98 kB / 1.941 GB, free: 21.91 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.007026/3.617, allocations: 1.943 MB / 1.943 GB, free: 19.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/3.617, allocations: 12.02 kB / 1.943 GB, free: 19.89 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005193/3.622, allocations: 0.6807 MB / 1.944 GB, free: 19.21 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004895/3.627, allocations: 1.854 MB / 1.945 GB, free: 17.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/3.627, allocations: 136.1 kB / 1.946 GB, free: 17.16 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/3.628, allocations: 132 kB / 1.946 GB, free: 17.03 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/3.631, allocations: 1.547 MB / 1.947 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/3.631, allocations: 7.922 kB / 1.947 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/3.631, allocations: 56 kB / 1.947 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/3.631, allocations: 39.98 kB / 1.947 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/3.634, allocations: 1.192 MB / 1.948 GB, free: 14.07 MB / 0.9323 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.01105/3.645, allocations: 7.53 MB / 1.956 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/3.646, allocations: 0.9352 MB / 1.957 GB, free: 5.227 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/3.647, allocations: 475.6 kB / 1.957 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/3.648, allocations: 1.267 MB / 1.958 GB, free: 3.215 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009553/3.649, allocations: 0.5722 MB / 1.959 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=79): time 3.737e-06/3.649, allocations: 0 / 1.959 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79): time 0.003889/3.653, allocations: 1.21 MB / 1.96 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/3.653, allocations: 163 kB / 1.96 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/3.655, allocations: 1.156 MB / 1.961 GB, free: 44 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.6738/4.329, allocations: 46.62 kB / 1.961 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/4.33, allocations: 0.7346 MB / 1.962 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004963/4.331, allocations: 270.7 kB / 1.962 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/4.331, allocations: 18.62 kB / 1.962 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/4.331, allocations: 345.8 kB / 1.963 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008299/4.332, allocations: 388.2 kB / 1.963 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009858/4.333, allocations: 0.684 MB / 1.964 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008243/4.333, allocations: 437.1 kB / 1.964 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/4.334, allocations: 2.031 kB / 1.964 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002981/4.336, allocations: 1.321 MB / 1.966 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005543/4.337, allocations: 2.412 MB / 1.968 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/4.337, allocations: 6.094 kB / 1.968 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/4.339, allocations: 0.5068 MB / 1.968 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/4.34, allocations: 246.9 kB / 1.969 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/4.342, allocations: 1.084 MB / 1.97 GB, free: 152 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/4.344, allocations: 252.9 kB / 1.97 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/4.345, allocations: 53.88 kB / 1.97 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/4.345, allocations: 5.375 kB / 1.97 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002409/4.347, allocations: 1.16 MB / 1.971 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/4.347, allocations: 8.031 kB / 1.971 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/4.349, allocations: 0.5131 MB / 1.972 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/4.35, allocations: 236.9 kB / 1.972 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/4.351, allocations: 1.087 MB / 1.973 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/4.354, allocations: 223.5 kB / 1.973 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/4.354, allocations: 56.3 kB / 1.973 GB, free: 151.3 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 () * 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.0004876/4.354, allocations: 174.2 kB / 1.973 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/4.355, allocations: 149.4 kB / 1.974 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/4.357, allocations: 1.342 MB / 1.975 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/4.358, allocations: 14.03 kB / 1.975 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/4.358, allocations: 0 / 1.975 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001955/4.36, allocations: 1.13 MB / 1.976 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005686/4.365, allocations: 2.997 MB / 1.979 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/4.365, allocations: 1.578 kB / 1.979 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/4.366, allocations: 188.4 kB / 1.979 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/4.368, allocations: 499.1 kB / 1.98 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.647e-05/4.368, allocations: 36.75 kB / 1.98 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/4.369, allocations: 1.08 MB / 1.981 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/4.369, allocations: 5.531 kB / 1.981 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/4.372, allocations: 1.372 MB / 1.982 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008854/4.373, allocations: 424.3 kB / 1.982 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/4.373, allocations: 20.86 kB / 1.982 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/4.375, allocations: 163.8 kB / 1.983 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/4.375, allocations: 58.09 kB / 1.983 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/4.375, allocations: 54.64 kB / 1.983 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001433/4.376, allocations: 0.9033 MB / 1.984 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/4.376, allocations: 0 / 1.984 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003605/4.38, allocations: 1.075 MB / 1.985 GB, free: 149.2 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) * 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.002579/4.382, allocations: 1.186 MB / 1.986 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003226/4.386, allocations: 1.651 MB / 1.987 GB, free: 149 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/4.386, allocations: 7.031 kB / 1.987 GB, free: 149 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008368/4.387, allocations: 0.5077 MB / 1.988 GB, free: 149 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/4.39, allocations: 0.768 MB / 1.989 GB, free: 149 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/4.394, allocations: 1.943 MB / 1.991 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008676/4.395, allocations: 1.306 MB / 1.992 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002384/4.398, allocations: 494 kB / 1.992 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/4.398, allocations: 116.3 kB / 1.992 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of SimCode: time 7.82e-07/4.398, allocations: 0 / 1.992 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.1007/4.499, allocations: 45.17 MB / 2.036 GB, free: 146.2 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)