Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 163.3 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007523/0.0007525, allocations: 94.3 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004514, allocations: 9.844 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2447, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1052/0.35, allocations: 129.6 MB / 1.023 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03634/0.3864, allocations: 25.37 MB / 1.048 GB, free: 8.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008628/0.395, allocations: 127.2 kB / 1.048 GB, free: 8.605 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00602/0.4011, allocations: 1.414 MB / 1.05 GB, free: 7.184 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.4162, allocations: 4.133 MB / 1.054 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4686/0.8848, allocations: 3.164 MB / 1.057 GB, free: 42.13 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0167/0.9015, allocations: 11.35 MB / 1.068 GB, free: 42.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00572/0.9073, allocations: 2.461 MB / 1.07 GB, free: 41.85 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00863/0.916, allocations: 2.793 MB / 1.073 GB, free: 41.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006663/0.9227, allocations: 2.296 MB / 1.075 GB, free: 41.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007434/0.9234, allocations: 130.8 kB / 1.075 GB, free: 41.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008165/0.9316, allocations: 2.575 MB / 1.078 GB, free: 41.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000844/0.9325, allocations: 0.6117 MB / 1.078 GB, free: 41.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003088/0.9356, allocations: 1.671 MB / 1.08 GB, free: 41.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007504/0.9431, allocations: 4.866 MB / 1.085 GB, free: 40.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9431, allocations: 0 / 1.085 GB, free: 40.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9431, allocations: 0 / 1.085 GB, free: 40.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00016/0.9433, allocations: 2.469 kB / 1.085 GB, free: 40.96 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.007004/0.9503, allocations: 3.395 MB / 1.088 GB, free: 39.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.9504, allocations: 9.625 kB / 1.088 GB, free: 39.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009688/0.9601, allocations: 1.371 MB / 1.089 GB, free: 38.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005598/0.9657, allocations: 2.895 MB / 1.092 GB, free: 38.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.966, allocations: 247.3 kB / 1.093 GB, free: 38.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005492/0.9666, allocations: 240.1 kB / 1.093 GB, free: 38.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007612/0.9742, allocations: 3.144 MB / 1.096 GB, free: 37.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.859e-05/0.9743, allocations: 5.812 kB / 1.096 GB, free: 37.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.9746, allocations: 99.88 kB / 1.096 GB, free: 37.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.713e-05/0.9746, allocations: 69.2 kB / 1.096 GB, free: 37.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009716/0.9844, allocations: 2.788 MB / 1.099 GB, free: 37.68 MB / 0.698 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.01872/1.003, allocations: 13.26 MB / 1.112 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/1.007, allocations: 1.433 MB / 1.113 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/1.01, allocations: 0.9021 MB / 1.114 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/1.011, allocations: 1.794 MB / 1.116 GB, free: 28.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003186/1.014, allocations: 1.132 MB / 1.117 GB, free: 27.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 3.878e-06/1.014, allocations: 10.78 kB / 1.117 GB, free: 27.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.02104/1.035, allocations: 4.288 MB / 1.121 GB, free: 26.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/1.036, allocations: 0.5713 MB / 1.122 GB, free: 25.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004006/1.04, allocations: 2.508 MB / 1.124 GB, free: 25.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/1.04, allocations: 62.17 kB / 1.124 GB, free: 25.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009108/1.041, allocations: 1.336 MB / 1.125 GB, free: 24.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/1.041, allocations: 442 kB / 1.126 GB, free: 24.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/1.041, allocations: 150.1 kB / 1.126 GB, free: 24.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/1.042, allocations: 308.2 kB / 1.126 GB, free: 23.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/1.045, allocations: 0.9736 MB / 1.127 GB, free: 23.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003394/1.048, allocations: 1.564 MB / 1.129 GB, free: 22.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005722/1.054, allocations: 2.228 MB / 1.131 GB, free: 22.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.054, allocations: 0 / 1.131 GB, free: 22.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01007/1.064, allocations: 3.097 MB / 1.134 GB, free: 21.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000259/1.064, allocations: 482.7 kB / 1.134 GB, free: 20.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/1.064, allocations: 12 kB / 1.134 GB, free: 20.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/1.066, allocations: 0.686 MB / 1.135 GB, free: 20.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/1.069, allocations: 0.5011 MB / 1.136 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/1.071, allocations: 1.805 MB / 1.137 GB, free: 18.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/1.078, allocations: 0.5149 MB / 1.138 GB, free: 17.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006613/1.078, allocations: 111.1 kB / 1.138 GB, free: 17.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.079, allocations: 4 kB / 1.138 GB, free: 17.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01097/1.09, allocations: 2.808 MB / 1.141 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.972e-05/1.09, allocations: 12 kB / 1.141 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/1.092, allocations: 0.6884 MB / 1.141 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/1.094, allocations: 0.4951 MB / 1.142 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/1.096, allocations: 1.814 MB / 1.144 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004876/1.101, allocations: 453.2 kB / 1.144 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004876/1.102, allocations: 107.1 kB / 1.144 GB, free: 12.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.002449/1.104, allocations: 0.6982 MB / 1.145 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.106, allocations: 264.8 kB / 1.145 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.116, allocations: 2.583 MB / 1.148 GB, free: 9.426 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/1.116, allocations: 16 kB / 1.148 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.116, allocations: 4 kB / 1.148 GB, free: 9.406 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009046/1.126, allocations: 2.201 MB / 1.15 GB, free: 7.184 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/1.141, allocations: 6.463 MB / 1.156 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/1.141, allocations: 8 kB / 1.156 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/1.142, allocations: 306.6 kB / 1.156 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/1.145, allocations: 0.6682 MB / 1.157 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/1.145, allocations: 47.94 kB / 1.157 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/1.147, allocations: 1.797 MB / 1.159 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/1.147, allocations: 10.81 kB / 1.159 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.159, allocations: 3.562 MB / 1.162 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/1.161, allocations: 0.5677 MB / 1.163 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008749/1.162, allocations: 48.11 kB / 1.163 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/1.165, allocations: 279.5 kB / 1.163 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/1.165, allocations: 119.8 kB / 1.163 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.166, allocations: 67.92 kB / 1.163 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003811/1.169, allocations: 1.758 MB / 1.165 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.52e-07/1.169, allocations: 0 / 1.165 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005652/1.175, allocations: 1.715 MB / 1.167 GB, free: 5.617 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * 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), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002257/1.177, allocations: 0.8628 MB / 1.168 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.189, allocations: 3.622 MB / 1.171 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/1.189, allocations: 4 kB / 1.171 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003335/1.192, allocations: 0.9884 MB / 1.172 GB, free: 348 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/1.204, allocations: 1.45 MB / 1.174 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.219, allocations: 6.338 MB / 1.18 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/1.221, allocations: 1.711 MB / 1.181 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/1.223, allocations: 282.4 kB / 1.182 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/1.223, allocations: 0 / 1.182 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of Templates: time 0.1046/1.327, allocations: 80.66 MB / 1.26 GB, free: 6.367 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)