Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.582/1.582, allocations: 251.9 MB / 0.51 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009908/0.0009913, allocations: 12 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/0.5859, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1241/0.71, allocations: 109.4 MB / 0.8348 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03483/0.7449, allocations: 21.46 MB / 0.8557 GB, free: 8.293 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006011/0.7509, allocations: 107.2 kB / 0.8558 GB, free: 8.188 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006926/0.7579, allocations: 1.453 MB / 0.8572 GB, free: 6.727 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.7737, allocations: 4.078 MB / 0.8612 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.7842, allocations: 3.104 MB / 0.8643 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01159/0.7958, allocations: 5.031 MB / 0.8692 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005211/0.801, allocations: 2.243 MB / 0.8714 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006406/0.8075, allocations: 2.409 MB / 0.8737 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.8109, allocations: 1.567 MB / 0.8752 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000622/0.8116, allocations: 128 kB / 0.8754 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006354/0.8179, allocations: 1.853 MB / 0.8772 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.819, allocations: 0.5563 MB / 0.8777 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.8208, allocations: 0.7304 MB / 0.8784 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007629/0.8284, allocations: 4.594 MB / 0.8829 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8285, allocations: 4 kB / 0.8829 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8285, allocations: 0 / 0.8829 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001384/0.8286, allocations: 0 / 0.8829 GB, free: 12.38 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007459/0.8361, allocations: 3.39 MB / 0.8862 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.8362, allocations: 8.031 kB / 0.8862 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.8471, allocations: 1.451 MB / 0.8877 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005251/0.8524, allocations: 2.678 MB / 0.8903 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.8527, allocations: 259.9 kB / 0.8905 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/0.8532, allocations: 247.9 kB / 0.8908 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007896/0.8611, allocations: 3.178 MB / 0.8939 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.181e-05/0.8611, allocations: 11.92 kB / 0.8939 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.8614, allocations: 96 kB / 0.894 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.19e-05/0.8615, allocations: 75.94 kB / 0.894 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009182/0.8707, allocations: 2.877 MB / 0.8968 GB, free: 13.71 MB / 0.7169 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.407/1.278, allocations: 13.68 MB / 0.9102 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005326/1.283, allocations: 1.509 MB / 0.9117 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/1.285, allocations: 1.786 MB / 0.9134 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004142/1.289, allocations: 1.177 MB / 0.9146 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 5.71e-06/1.289, allocations: 5.688 kB / 0.9146 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.0556/1.344, allocations: 11.82 MB / 0.9261 GB, free: 162 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/1.345, allocations: 0.5871 MB / 0.9267 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/1.348, allocations: 2.678 MB / 0.9293 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000328/1.349, allocations: 65.55 kB / 0.9294 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008922/1.35, allocations: 1.311 MB / 0.9307 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004571/1.35, allocations: 464.3 kB / 0.9311 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.35, allocations: 31.91 kB / 0.9311 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/1.35, allocations: 371.8 kB / 0.9315 GB, free: 158.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/1.354, allocations: 0.9973 MB / 0.9325 GB, free: 158.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003762/1.358, allocations: 1.586 MB / 0.934 GB, free: 157 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003608/1.361, allocations: 1.127 MB / 0.9351 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/1.361, allocations: 3.969 kB / 0.9351 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02258/1.384, allocations: 4.243 MB / 0.9393 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001239/1.385, allocations: 5.236 MB / 0.9444 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.943e-05/1.385, allocations: 12.75 kB / 0.9444 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/1.389, allocations: 1.139 MB / 0.9455 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/1.392, allocations: 468.7 kB / 0.9459 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/1.395, allocations: 2.382 MB / 0.9483 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005261/1.401, allocations: 427.1 kB / 0.9487 GB, free: 145.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003209/1.401, allocations: 99.91 kB / 0.9488 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.401, allocations: 11.95 kB / 0.9488 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02121/1.422, allocations: 3.95 MB / 0.9526 GB, free: 141.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/1.422, allocations: 12 kB / 0.9526 GB, free: 141.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/1.426, allocations: 1.128 MB / 0.9537 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/1.428, allocations: 467.2 kB / 0.9542 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/1.432, allocations: 2.373 MB / 0.9565 GB, free: 137.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00478/1.437, allocations: 383.2 kB / 0.9569 GB, free: 137.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/1.437, allocations: 107.9 kB / 0.957 GB, free: 137.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001819/1.439, allocations: 0.6977 MB / 0.9577 GB, free: 136.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009928/1.44, allocations: 280.6 kB / 0.9579 GB, free: 136.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/1.456, allocations: 3.035 MB / 0.9609 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/1.456, allocations: 19.95 kB / 0.9609 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.456, allocations: 7.984 kB / 0.9609 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01411/1.47, allocations: 2.634 MB / 0.9635 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02194/1.492, allocations: 7.004 MB / 0.9703 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/1.492, allocations: 8 kB / 0.9703 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/1.494, allocations: 279.9 kB / 0.9706 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003365/1.497, allocations: 0.9835 MB / 0.9716 GB, free: 122.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003051/1.497, allocations: 51.94 kB / 0.9716 GB, free: 122 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/1.5, allocations: 2.156 MB / 0.9737 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.5, allocations: 11.94 kB / 0.9737 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/1.52, allocations: 4.992 MB / 0.9786 GB, free: 114.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.522, allocations: 0.6652 MB / 0.9793 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009509/1.523, allocations: 39.95 kB / 0.9793 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00397/1.527, allocations: 297.8 kB / 0.9796 GB, free: 113.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/1.527, allocations: 112.7 kB / 0.9797 GB, free: 113.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.527, allocations: 75.92 kB / 0.9798 GB, free: 113.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003512/1.531, allocations: 1.886 MB / 0.9816 GB, free: 111.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4e-07/1.531, allocations: 5.859 kB / 0.9816 GB, free: 111.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006302/1.537, allocations: 1.541 MB / 0.9831 GB, free: 109.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002169/1.54, allocations: 0.8773 MB / 0.984 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.552, allocations: 3.767 MB / 0.9876 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/1.553, allocations: 8.25 kB / 0.9877 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003762/1.556, allocations: 1.103 MB / 0.9887 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007832/1.564, allocations: 1.484 MB / 0.9902 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.578, allocations: 5.803 MB / 0.9958 GB, free: 96.86 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/1.58, allocations: 1.766 MB / 0.9976 GB, free: 95.06 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0038/1.583, allocations: 0.6591 MB / 0.9982 GB, free: 94.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009011/1.584, allocations: 227.3 kB / 0.9984 GB, free: 94.18 MB / 0.7169 GB Notification: Performance of SimCode: time 1.663e-06/1.584, allocations: 0 / 0.9984 GB, free: 94.18 MB / 0.7169 GB Notification: Performance of Templates: time 0.1501/1.735, allocations: 72.3 MB / 1.069 GB, free: 22.73 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: