Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.00126/0.00126, allocations: 183.4 kB / 376.9 MB, free: 1.816 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.389/1.389, allocations: 205.1 MB / 0.6354 GB, free: 9.777 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.001089/0.001089, allocations: 99.53 kB / 0.748 GB, free: 61.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2813, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.6768/0.9581, allocations: 129.9 MB / 1.109 GB, free: 28.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03143/0.9896, allocations: 25.08 MB / 1.134 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007368/0.997, allocations: 121.8 kB / 1.134 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005486/1.003, allocations: 1.414 MB / 1.135 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01507/1.018, allocations: 4.173 MB / 1.139 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/1.028, allocations: 3.209 MB / 1.142 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01543/1.043, allocations: 11.42 MB / 1.153 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00503/1.049, allocations: 2.611 MB / 1.156 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007997/1.057, allocations: 2.9 MB / 1.159 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005456/1.062, allocations: 2.432 MB / 1.161 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001262/1.063, allocations: 176.2 kB / 1.161 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008555/1.072, allocations: 2.513 MB / 1.164 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001798/1.074, allocations: 0.688 MB / 1.164 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.005565/1.079, allocations: 1.785 MB / 1.166 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/1.093, allocations: 6.198 MB / 1.172 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.093, allocations: 0 / 1.172 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.074e-06/1.093, allocations: 0 / 1.172 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.000239/1.093, allocations: 4 kB / 1.172 GB, free: 8.758 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01144/1.105, allocations: 4.094 MB / 1.176 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.105, allocations: 8.938 kB / 1.176 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/1.115, allocations: 1.292 MB / 1.178 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007439/1.123, allocations: 2.906 MB / 1.18 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/1.123, allocations: 257.2 kB / 1.181 GB, free: 4.117 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006657/1.124, allocations: 238.8 kB / 1.181 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008864/1.132, allocations: 3.167 MB / 1.184 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.034e-05/1.133, allocations: 14.41 kB / 1.184 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003434/1.133, allocations: 99.12 kB / 1.184 GB, free: 2.504 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-05/1.133, allocations: 80.59 kB / 1.184 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009581/1.143, allocations: 2.747 MB / 1.187 GB, free: 1.566 MB / 0.7605 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.02843/1.171, allocations: 13.59 MB / 1.2 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/1.176, allocations: 1.403 MB / 1.201 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00305/1.179, allocations: 0.8519 MB / 1.202 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/1.181, allocations: 1.781 MB / 1.204 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003701/1.185, allocations: 1.126 MB / 1.205 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=126): time 6.071e-06/1.185, allocations: 1.156 kB / 1.205 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of matching and sorting (n=132): time 0.03632/1.221, allocations: 9.544 MB / 1.214 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002955/1.221, allocations: 0.5724 MB / 1.215 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005862/1.227, allocations: 2.609 MB / 1.218 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005752/1.228, allocations: 62.89 kB / 1.218 GB, free: 14 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001619/1.229, allocations: 1.346 MB / 1.219 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007261/1.23, allocations: 468.9 kB / 1.219 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008162/1.231, allocations: 469.5 kB / 1.22 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.231, allocations: 307.5 kB / 1.22 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003601/1.235, allocations: 0.9337 MB / 1.221 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004243/1.239, allocations: 1.525 MB / 1.223 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00704/1.246, allocations: 2.164 MB / 1.225 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/1.246, allocations: 2.469 kB / 1.225 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0121/1.258, allocations: 3.09 MB / 1.228 GB, free: 8.488 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/1.258, allocations: 37.94 kB / 1.228 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/1.258, allocations: 12.81 kB / 1.228 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/1.261, allocations: 0.9135 MB / 1.229 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/1.264, allocations: 470.9 kB / 1.229 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/1.267, allocations: 2.171 MB / 1.231 GB, free: 5.832 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00541/1.273, allocations: 387.8 kB / 1.232 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004257/1.273, allocations: 103.9 kB / 1.232 GB, free: 5.352 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00482/1.278, allocations: 1.433 MB / 1.233 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004125/1.282, allocations: 1.511 MB / 1.235 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006651/1.289, allocations: 2.134 MB / 1.237 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.187e-05/1.289, allocations: 8.547 kB / 1.237 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01189/1.301, allocations: 3.074 MB / 1.24 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/1.301, allocations: 33.7 kB / 1.24 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.301, allocations: 12 kB / 1.24 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002885/1.304, allocations: 0.9137 MB / 1.241 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/1.306, allocations: 463.2 kB / 1.241 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/1.31, allocations: 2.168 MB / 1.243 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005595/1.315, allocations: 384.6 kB / 1.243 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/1.316, allocations: 103.9 kB / 1.244 GB, free: 8.625 MB / 0.8073 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006681/1.316, allocations: 303.8 kB / 1.244 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009109/1.317, allocations: 288.5 kB / 1.244 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00765/1.325, allocations: 2.233 MB / 1.246 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/1.325, allocations: 12 kB / 1.246 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/1.325, allocations: 4 kB / 1.246 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006227/1.331, allocations: 1.861 MB / 1.248 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/1.347, allocations: 6.188 MB / 1.254 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.347, allocations: 8 kB / 1.254 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.349, allocations: 284.2 kB / 1.254 GB, free: 13.19 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002644/1.352, allocations: 0.7866 MB / 1.255 GB, free: 12.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/1.352, allocations: 51.94 kB / 1.255 GB, free: 12.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/1.354, allocations: 1.94 MB / 1.257 GB, free: 10.36 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.354, allocations: 15.94 kB / 1.257 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09583/1.45, allocations: 23.7 MB / 1.28 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/1.452, allocations: 0.5678 MB / 1.281 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006369/1.453, allocations: 39.98 kB / 1.281 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003184/1.456, allocations: 259.6 kB / 1.281 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/1.456, allocations: 120.6 kB / 1.281 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.457, allocations: 75.92 kB / 1.281 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003201/1.46, allocations: 1.832 MB / 1.283 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.91e-07/1.46, allocations: 0 / 1.283 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01013/1.47, allocations: 2.288 MB / 1.285 GB, free: 12.69 MB / 0.8542 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0028/1.473, allocations: 0.9223 MB / 1.286 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.485, allocations: 3.576 MB / 1.29 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.485, allocations: 12.48 kB / 1.29 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00363/1.489, allocations: 1.043 MB / 1.291 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008523/1.497, allocations: 1.523 MB / 1.292 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.513, allocations: 7.163 MB / 1.299 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.515, allocations: 1.774 MB / 1.301 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004006/1.519, allocations: 0.6628 MB / 1.302 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/1.519, allocations: 243.2 kB / 1.302 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/1.519, allocations: 0 / 1.302 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.5709/2.09, allocations: 81.6 MB / 1.382 GB, free: 276.7 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)