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.667/1.667, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.00129/0.001289, allocations: 172.9 kB / 361.4 MB, free: 6.852 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.709/1.709, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.0009484/0.000948, allocations: 91.53 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.951e-05, allocations: 4 kB / 0.8517 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.6947, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.703, allocations: 425.9 MB / 1.38 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.703, allocations: 89.45 kB / 1.38 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.72/3.423, allocations: 0.5506 GB / 1.931 GB, free: 36.21 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.643e-06/3.423, allocations: 0 / 1.931 GB, free: 36.21 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002816/3.424, allocations: 47.92 kB / 1.931 GB, free: 36.16 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.006137/3.43, allocations: 1.942 MB / 1.933 GB, free: 34.16 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/3.43, allocations: 12.03 kB / 1.933 GB, free: 34.14 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/3.435, allocations: 0.6767 MB / 1.934 GB, free: 33.46 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005041/3.44, allocations: 1.861 MB / 1.935 GB, free: 31.55 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/3.44, allocations: 88.16 kB / 1.936 GB, free: 31.45 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005325/3.441, allocations: 79.94 kB / 1.936 GB, free: 31.38 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003021/3.444, allocations: 1.114 MB / 1.937 GB, free: 30.26 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/3.447, allocations: 1.371 MB / 1.938 GB, free: 28.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/3.447, allocations: 3.938 kB / 1.938 GB, free: 28.78 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/3.447, allocations: 4 kB / 1.938 GB, free: 28.78 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/3.447, allocations: 36 kB / 1.938 GB, free: 28.74 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.009619/3.457, allocations: 7.306 MB / 1.945 GB, free: 21.09 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/3.458, allocations: 0.894 MB / 1.946 GB, free: 20.18 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/3.459, allocations: 452.1 kB / 1.947 GB, free: 19.73 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/3.46, allocations: 1.275 MB / 1.948 GB, free: 18.18 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/3.461, allocations: 0.5394 MB / 1.948 GB, free: 17.63 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=79): time 3.987e-06/3.461, allocations: 0 / 1.948 GB, free: 17.63 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79): time 0.004898/3.466, allocations: 1.288 MB / 1.95 GB, free: 16.33 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/3.466, allocations: 166.9 kB / 1.95 GB, free: 16.13 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/3.467, allocations: 1.006 MB / 1.951 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/3.467, allocations: 29.7 kB / 1.951 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005736/3.468, allocations: 0.7341 MB / 1.951 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/3.468, allocations: 272.1 kB / 1.952 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/3.468, allocations: 0 / 1.952 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001083/3.468, allocations: 337.9 kB / 1.952 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/3.469, allocations: 374.5 kB / 1.952 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/3.469, allocations: 0.6585 MB / 1.953 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/3.471, allocations: 0.553 MB / 1.954 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/3.471, allocations: 7.953 kB / 1.954 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002993/3.474, allocations: 1.358 MB / 1.955 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005082/3.475, allocations: 2.391 MB / 1.957 GB, free: 8.105 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/3.475, allocations: 8 kB / 1.957 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009249/3.476, allocations: 424.6 kB / 1.958 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/3.477, allocations: 243.6 kB / 1.958 GB, free: 7.441 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/3.478, allocations: 1.15 MB / 1.959 GB, free: 6.266 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/3.48, allocations: 215.1 kB / 1.959 GB, free: 6.055 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/3.481, allocations: 59.94 kB / 1.959 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/3.481, allocations: 4 kB / 1.959 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00275/3.483, allocations: 1.19 MB / 1.96 GB, free: 4.801 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/3.483, allocations: 8 kB / 1.96 GB, free: 4.793 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008497/3.484, allocations: 433.7 kB / 1.961 GB, free: 4.367 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/3.485, allocations: 247.5 kB / 1.961 GB, free: 4.125 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/3.487, allocations: 1.142 MB / 1.962 GB, free: 2.957 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/3.489, allocations: 195.2 kB / 1.962 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/3.489, allocations: 55.89 kB / 1.962 GB, free: 2.711 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.0003288/3.489, allocations: 132.7 kB / 1.963 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/3.489, allocations: 146.2 kB / 1.963 GB, free: 2.43 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/3.492, allocations: 1.285 MB / 1.964 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/3.492, allocations: 8 kB / 1.964 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/3.492, allocations: 3.953 kB / 1.964 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6576/4.15, allocations: 1.097 MB / 1.965 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007468/4.157, allocations: 2.806 MB / 1.968 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/4.157, allocations: 0.7812 kB / 1.968 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/4.158, allocations: 182.4 kB / 1.968 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/4.16, allocations: 426.5 kB / 1.968 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/4.16, allocations: 33.61 kB / 1.968 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/4.161, allocations: 1.141 MB / 1.969 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/4.161, allocations: 1 kB / 1.969 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/4.165, allocations: 1.336 MB / 1.971 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/4.166, allocations: 413.6 kB / 1.971 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/4.166, allocations: 2.75 kB / 1.971 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/4.168, allocations: 150.1 kB / 1.971 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/4.168, allocations: 58.27 kB / 1.971 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/4.168, allocations: 56.66 kB / 1.971 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001457/4.17, allocations: 0.7587 MB / 1.972 GB, free: 157 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/4.17, allocations: 3.062 kB / 1.972 GB, free: 157 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00382/4.174, allocations: 1.042 MB / 1.973 GB, free: 156.9 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.002813/4.177, allocations: 1.162 MB / 1.974 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003248/4.18, allocations: 1.556 MB / 1.976 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/4.18, allocations: 0 / 1.976 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009031/4.181, allocations: 0.4897 MB / 1.976 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/4.184, allocations: 0.6742 MB / 1.977 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/4.189, allocations: 1.876 MB / 1.979 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/4.19, allocations: 1.304 MB / 1.98 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003131/4.193, allocations: 452 kB / 1.981 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/4.194, allocations: 109.6 kB / 1.981 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of SimCode: time 2.394e-06/4.194, allocations: 3.25 kB / 1.981 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.07987/4.274, allocations: 38.57 MB / 2.018 GB, free: 154.3 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)