Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009254/0.0009256, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006254/0.006254, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 10.09 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1121/0.4447, allocations: 113 MB / 1.185 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03089/0.4756, allocations: 20.75 MB / 1.205 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004264/0.4799, allocations: 103.4 kB / 1.205 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004365/0.4843, allocations: 1.375 MB / 1.206 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.495, allocations: 3.69 MB / 1.21 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00719/0.5022, allocations: 2.625 MB / 1.212 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01344/0.5157, allocations: 10.42 MB / 1.223 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004107/0.5198, allocations: 2.212 MB / 1.225 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/0.5263, allocations: 2.454 MB / 1.227 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004095/0.5304, allocations: 2.259 MB / 1.229 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.5315, allocations: 136 kB / 1.229 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005915/0.5374, allocations: 1.812 MB / 1.231 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002328/0.5398, allocations: 0.7353 MB / 1.232 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005146/0.545, allocations: 1.657 MB / 1.234 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009843/0.5548, allocations: 5.256 MB / 1.239 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5549, allocations: 0 / 1.239 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5549, allocations: 0 / 1.239 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.571e-05/0.555, allocations: 0 / 1.239 GB, free: 14.52 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.006368/0.5614, allocations: 3.235 MB / 1.242 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5614, allocations: 8.031 kB / 1.242 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.5642, allocations: 0.6446 MB / 1.242 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/0.5686, allocations: 2.592 MB / 1.245 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.5689, allocations: 302.6 kB / 1.245 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.5693, allocations: 203.9 kB / 1.245 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/0.5742, allocations: 2.602 MB / 1.248 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.652e-05/0.5742, allocations: 11.94 kB / 1.248 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.5745, allocations: 87.98 kB / 1.248 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.725e-05/0.5745, allocations: 67.92 kB / 1.248 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004869/0.5794, allocations: 2.297 MB / 1.25 GB, free: 2.191 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.5922/1.172, allocations: 11.46 MB / 1.262 GB, free: 168 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/1.175, allocations: 1.347 MB / 1.263 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/1.176, allocations: 0.8484 MB / 1.264 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/1.177, allocations: 1.33 MB / 1.265 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002026/1.179, allocations: 1.092 MB / 1.266 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 3.477e-06/1.179, allocations: 3.469 kB / 1.266 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.005732/1.185, allocations: 2.493 MB / 1.269 GB, free: 165 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.185, allocations: 490 kB / 1.269 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/1.189, allocations: 2.678 MB / 1.272 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002909/1.189, allocations: 56.55 kB / 1.272 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009936/1.19, allocations: 1.316 MB / 1.273 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000428/1.191, allocations: 406.4 kB / 1.273 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/1.191, allocations: 132.2 kB / 1.274 GB, free: 162 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.18e-05/1.191, allocations: 306.4 kB / 1.274 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/1.193, allocations: 0.8047 MB / 1.275 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/1.195, allocations: 1.344 MB / 1.276 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/1.199, allocations: 1.937 MB / 1.278 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.199, allocations: 2.656 kB / 1.278 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00566/1.204, allocations: 2.333 MB / 1.28 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002389/1.204, allocations: 424.4 kB / 1.28 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/1.205, allocations: 11.88 kB / 1.28 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.92e-05/1.205, allocations: 17.91 kB / 1.281 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.206, allocations: 432 kB / 1.281 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.332e-05/1.206, allocations: 28.08 kB / 1.281 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/1.209, allocations: 331.7 kB / 1.281 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/1.21, allocations: 76.42 kB / 1.281 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/1.21, allocations: 6.094 kB / 1.281 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004903/1.215, allocations: 2.055 MB / 1.283 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/1.215, allocations: 9.906 kB / 1.283 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/1.215, allocations: 19.34 kB / 1.283 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.217, allocations: 420.1 kB / 1.284 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-05/1.217, allocations: 28.69 kB / 1.284 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/1.22, allocations: 307.1 kB / 1.284 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/1.22, allocations: 69.12 kB / 1.284 GB, free: 156.8 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.001798/1.222, allocations: 0.6899 MB / 1.285 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008248/1.223, allocations: 277.1 kB / 1.285 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004853/1.228, allocations: 2.179 MB / 1.287 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/1.228, allocations: 17.73 kB / 1.287 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.228, allocations: 1.844 kB / 1.287 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003439/1.231, allocations: 1.719 MB / 1.289 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009994/1.241, allocations: 5.288 MB / 1.294 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.241, allocations: 6.453 kB / 1.294 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.243, allocations: 284.7 kB / 1.294 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.766e-05/1.243, allocations: 10 kB / 1.294 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/1.243, allocations: 42.78 kB / 1.294 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/1.243, allocations: 14.75 kB / 1.294 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.243, allocations: 13.66 kB / 1.294 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006368/1.249, allocations: 3.201 MB / 1.298 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/1.251, allocations: 0.6267 MB / 1.298 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/1.251, allocations: 29.59 kB / 1.298 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.253, allocations: 189.3 kB / 1.298 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/1.253, allocations: 121.1 kB / 1.299 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.254, allocations: 62.2 kB / 1.299 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002785/1.256, allocations: 1.86 MB / 1.3 GB, free: 149 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.51e-07/1.256, allocations: 0 / 1.3 GB, free: 149 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004092/1.261, allocations: 1.435 MB / 1.302 GB, free: 148.7 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.001271/1.262, allocations: 0.6493 MB / 1.302 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006032/1.268, allocations: 3.122 MB / 1.305 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.268, allocations: 4.406 kB / 1.305 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/1.27, allocations: 0.9658 MB / 1.306 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009752/1.28, allocations: 1.394 MB / 1.308 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008253/1.288, allocations: 5.922 MB / 1.314 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.289, allocations: 1.764 MB / 1.315 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003419/1.293, allocations: 0.7143 MB / 1.316 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009206/1.294, allocations: 231.2 kB / 1.316 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/1.294, allocations: 0 / 1.316 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.08293/1.376, allocations: 57.42 MB / 1.372 GB, free: 84.02 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)