Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.3 MB / 308.1 MB, free: 4.336 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.001482/0.001482, allocations: 194.4 kB / 376.9 MB, free: 1.887 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.482/1.482, allocations: 205 MB / 0.6354 GB, free: 9.809 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.0009454/0.0009453, allocations: 96.66 kB / 0.748 GB, free: 61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.91 kB / 0.8703 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2306, allocations: 114.6 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.6279/0.8585, allocations: 130 MB / 1.109 GB, free: 28.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.04479/0.9033, allocations: 24.99 MB / 1.134 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008355/0.9117, allocations: 121.8 kB / 1.134 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.006607/0.9184, allocations: 1.422 MB / 1.135 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.932, allocations: 4.129 MB / 1.139 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009564/0.9415, allocations: 3.213 MB / 1.142 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01412/0.9557, allocations: 11.47 MB / 1.153 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006471/0.9622, allocations: 2.607 MB / 1.156 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008114/0.9703, allocations: 2.881 MB / 1.159 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005189/0.9755, allocations: 2.434 MB / 1.161 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.9767, allocations: 177 kB / 1.161 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007671/0.9843, allocations: 2.514 MB / 1.164 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.9857, allocations: 0.6961 MB / 1.164 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.003667/0.9894, allocations: 1.771 MB / 1.166 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.009871/0.9993, allocations: 6.192 MB / 1.172 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9993, allocations: 0 / 1.172 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9993, allocations: 0 / 1.172 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001329/0.9995, allocations: 0 / 1.172 GB, free: 8.773 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008525/1.008, allocations: 4.084 MB / 1.176 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.008, allocations: 10.34 kB / 1.176 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.019, allocations: 1.381 MB / 1.178 GB, free: 5.98 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006268/1.025, allocations: 2.909 MB / 1.18 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/1.026, allocations: 258 kB / 1.181 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006119/1.026, allocations: 252.2 kB / 1.181 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008158/1.034, allocations: 3.204 MB / 1.184 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.604e-05/1.035, allocations: 6.188 kB / 1.184 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/1.035, allocations: 106.8 kB / 1.184 GB, free: 2.504 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.541e-05/1.035, allocations: 70.16 kB / 1.184 GB, free: 2.5 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009857/1.045, allocations: 2.834 MB / 1.187 GB, free: 1.547 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.02603/1.071, allocations: 13.42 MB / 1.2 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005363/1.076, allocations: 1.493 MB / 1.202 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003583/1.08, allocations: 0.9332 MB / 1.202 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002012/1.082, allocations: 1.774 MB / 1.204 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004441/1.086, allocations: 1.222 MB / 1.205 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=130): time 9.527e-06/1.086, allocations: 1.859 kB / 1.205 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of matching and sorting (n=130): time 0.04394/1.13, allocations: 5.828 MB / 1.211 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003417/1.131, allocations: 0.5833 MB / 1.212 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006977/1.138, allocations: 2.503 MB / 1.214 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0006/1.138, allocations: 59.58 kB / 1.214 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001925/1.14, allocations: 1.341 MB / 1.215 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/1.141, allocations: 461.5 kB / 1.216 GB, free: 308 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001868/1.143, allocations: 478.1 kB / 1.216 GB, free: 120 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.143, allocations: 304.3 kB / 1.217 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004252/1.148, allocations: 1.004 MB / 1.218 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/1.153, allocations: 1.591 MB / 1.219 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008276/1.161, allocations: 2.276 MB / 1.221 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/1.161, allocations: 2.438 kB / 1.221 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02536/1.187, allocations: 4.104 MB / 1.225 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/1.187, allocations: 40.52 kB / 1.225 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/1.187, allocations: 17.45 kB / 1.225 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003647/1.19, allocations: 0.949 MB / 1.226 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/1.193, allocations: 498.5 kB / 1.227 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/1.197, allocations: 1.989 MB / 1.229 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006282/1.203, allocations: 0.5192 MB / 1.229 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006526/1.204, allocations: 111.8 kB / 1.229 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005546/1.21, allocations: 1.495 MB / 1.231 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004733/1.214, allocations: 1.576 MB / 1.232 GB, free: 4.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00734/1.222, allocations: 2.241 MB / 1.235 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.02e-05/1.222, allocations: 4 kB / 1.235 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02408/1.246, allocations: 4.084 MB / 1.239 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/1.246, allocations: 40.42 kB / 1.239 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.246, allocations: 12 kB / 1.239 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/1.249, allocations: 0.9496 MB / 1.24 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/1.252, allocations: 499.1 kB / 1.24 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/1.256, allocations: 1.974 MB / 1.242 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/1.261, allocations: 474.7 kB / 1.242 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/1.262, allocations: 111.8 kB / 1.243 GB, free: 9.883 MB / 0.8073 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,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006644/1.262, allocations: 299.8 kB / 1.243 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009994/1.263, allocations: 264.8 kB / 1.243 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.275, allocations: 2.521 MB / 1.246 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/1.275, allocations: 12 kB / 1.246 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.275, allocations: 8 kB / 1.246 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01042/1.286, allocations: 2.13 MB / 1.248 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03078/1.316, allocations: 7.467 MB / 1.255 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.981e-05/1.316, allocations: 8 kB / 1.255 GB, free: 12.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.318, allocations: 283.8 kB / 1.255 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/1.322, allocations: 0.9413 MB / 1.256 GB, free: 11.68 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/1.322, allocations: 47.95 kB / 1.256 GB, free: 11.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/1.325, allocations: 1.966 MB / 1.258 GB, free: 9.617 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/1.326, allocations: 11.94 kB / 1.258 GB, free: 9.605 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2532/1.579, allocations: 48.46 MB / 1.305 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003055/1.582, allocations: 0.595 MB / 1.306 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/1.583, allocations: 36 kB / 1.306 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006176/1.59, allocations: 275.5 kB / 1.306 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/1.59, allocations: 120.6 kB / 1.306 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005504/1.591, allocations: 75.91 kB / 1.307 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005904/1.597, allocations: 1.755 MB / 1.308 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.597, allocations: 0 / 1.308 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01934/1.616, allocations: 2.742 MB / 1.311 GB, free: 2.398 MB / 0.8698 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,19), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005827/1.622, allocations: 0.9666 MB / 1.312 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01931/1.641, allocations: 3.69 MB / 1.315 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-05/1.641, allocations: 448 / 1.315 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005485/1.647, allocations: 1.079 MB / 1.316 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01165/1.659, allocations: 1.418 MB / 1.318 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/1.68, allocations: 7.318 MB / 1.325 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/1.682, allocations: 1.777 MB / 1.327 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00579/1.688, allocations: 0.7122 MB / 1.327 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.689, allocations: 243.2 kB / 1.328 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of SimCode: time 8.32e-07/1.689, allocations: 0 / 1.328 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of Templates: time 0.5782/2.268, allocations: 90.33 MB / 1.416 GB, free: 265.1 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)