Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001254/0.001255, allocations: 193 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 65.91 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3522, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1092/0.4614, allocations: 114.8 MB / 1.18 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03195/0.4934, allocations: 20.97 MB / 1.2 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004224/0.4976, allocations: 111.4 kB / 1.2 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.5024, allocations: 1.379 MB / 1.202 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.5137, allocations: 3.686 MB / 1.205 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.009312/0.5231, allocations: 2.612 MB / 1.208 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01693/0.54, allocations: 10.42 MB / 1.218 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005539/0.5456, allocations: 2.281 MB / 1.22 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007646/0.5533, allocations: 2.536 MB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005198/0.5585, allocations: 2.349 MB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.5597, allocations: 168 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00582/0.5656, allocations: 1.851 MB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.5672, allocations: 0.7861 MB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002998/0.5702, allocations: 1.691 MB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008451/0.5787, allocations: 5.379 MB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5787, allocations: 0 / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5787, allocations: 4 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.469e-05/0.5788, allocations: 0 / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.007243/0.586, allocations: 3.871 MB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5861, allocations: 8.031 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.5888, allocations: 0.586 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004356/0.5932, allocations: 2.589 MB / 1.241 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/0.5935, allocations: 306.6 kB / 1.242 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.5938, allocations: 207.9 kB / 1.242 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005249/0.5991, allocations: 2.563 MB / 1.244 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.5991, allocations: 7.938 kB / 1.244 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.5994, allocations: 91.98 kB / 1.245 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-05/0.5994, allocations: 59.92 kB / 1.245 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004686/0.6041, allocations: 2.227 MB / 1.247 GB, free: 2.535 MB / 0.9981 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.5893/1.193, allocations: 11.42 MB / 1.258 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/1.197, allocations: 1.308 MB / 1.259 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/1.199, allocations: 0.8107 MB / 1.26 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008946/1.2, allocations: 1.33 MB / 1.261 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003216/1.203, allocations: 1.054 MB / 1.262 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 9.738e-06/1.203, allocations: 0 / 1.262 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.007783/1.211, allocations: 2.392 MB / 1.265 GB, free: 168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/1.211, allocations: 483.1 kB / 1.265 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005437/1.217, allocations: 2.676 MB / 1.268 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003544/1.217, allocations: 57.56 kB / 1.268 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.218, allocations: 1.319 MB / 1.269 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/1.219, allocations: 407.8 kB / 1.269 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006764/1.219, allocations: 339.2 kB / 1.27 GB, free: 165 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.861e-05/1.219, allocations: 305.8 kB / 1.27 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/1.221, allocations: 0.7771 MB / 1.271 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/1.223, allocations: 1.309 MB / 1.272 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/1.228, allocations: 1.863 MB / 1.274 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.228, allocations: 2.656 kB / 1.274 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006399/1.234, allocations: 2.26 MB / 1.276 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/1.234, allocations: 36.38 kB / 1.276 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/1.234, allocations: 10.16 kB / 1.276 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.498e-05/1.234, allocations: 21.84 kB / 1.276 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/1.236, allocations: 414.3 kB / 1.277 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-05/1.236, allocations: 27.72 kB / 1.277 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/1.24, allocations: 313 kB / 1.277 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/1.24, allocations: 77.84 kB / 1.277 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003599/1.244, allocations: 1.28 MB / 1.278 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002591/1.246, allocations: 1.301 MB / 1.28 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003896/1.25, allocations: 1.849 MB / 1.281 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.161e-05/1.25, allocations: 2.625 kB / 1.281 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00618/1.257, allocations: 2.246 MB / 1.284 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/1.257, allocations: 41.75 kB / 1.284 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/1.257, allocations: 9.469 kB / 1.284 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.483e-05/1.257, allocations: 17.59 kB / 1.284 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/1.259, allocations: 405.6 kB / 1.284 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.867e-05/1.259, allocations: 27.52 kB / 1.284 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/1.262, allocations: 264.9 kB / 1.284 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/1.262, allocations: 68.47 kB / 1.284 GB, free: 157.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007011/1.263, allocations: 295.2 kB / 1.285 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.264, allocations: 282.9 kB / 1.285 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005774/1.27, allocations: 2.092 MB / 1.287 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/1.27, allocations: 15.78 kB / 1.287 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.27, allocations: 4.953 kB / 1.287 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003742/1.274, allocations: 1.647 MB / 1.289 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/1.285, allocations: 5.214 MB / 1.294 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.285, allocations: 6.844 kB / 1.294 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.287, allocations: 264.4 kB / 1.294 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.372e-05/1.287, allocations: 10.59 kB / 1.294 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/1.287, allocations: 40.97 kB / 1.294 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.02e-05/1.287, allocations: 14 kB / 1.294 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/1.287, allocations: 9.156 kB / 1.294 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006664/1.294, allocations: 3.089 MB / 1.297 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/1.296, allocations: 0.5846 MB / 1.298 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.297, allocations: 33.41 kB / 1.298 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/1.299, allocations: 168 kB / 1.298 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/1.3, allocations: 115.9 kB / 1.298 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/1.3, allocations: 63.25 kB / 1.298 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003865/1.304, allocations: 1.857 MB / 1.3 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.304, allocations: 0 / 1.3 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008046/1.312, allocations: 1.429 MB / 1.301 GB, free: 149.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002244/1.314, allocations: 0.6532 MB / 1.302 GB, free: 149 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006672/1.321, allocations: 3.012 MB / 1.305 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/1.321, allocations: 448 / 1.305 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/1.323, allocations: 0.9267 MB / 1.306 GB, free: 147 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007706/1.331, allocations: 1.322 MB / 1.307 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009345/1.34, allocations: 5.797 MB / 1.313 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/1.342, allocations: 1.766 MB / 1.314 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003938/1.346, allocations: 0.7088 MB / 1.315 GB, free: 141 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.347, allocations: 216.1 kB / 1.315 GB, free: 141 MB / 0.9981 GB Notification: Performance of SimCode: time 1.262e-06/1.347, allocations: 0 / 1.315 GB, free: 141 MB / 0.9981 GB Notification: Performance of Templates: time 0.08078/1.428, allocations: 54.24 MB / 1.368 GB, free: 87.38 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)