Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.231/2.231, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 195.4 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 0.7948 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009642/0.0009643, allocations: 99.75 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 48.92 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2568, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.07569/0.3326, allocations: 114.8 MB / 1.33 GB, free: 2.012 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02772/0.3603, allocations: 20.97 MB / 1.351 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004421/0.3648, allocations: 103.4 kB / 1.351 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004991/0.3699, allocations: 1.387 MB / 1.352 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.3806, allocations: 3.679 MB / 1.356 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007304/0.3879, allocations: 2.62 MB / 1.358 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01237/0.4003, allocations: 10.45 MB / 1.369 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003965/0.4043, allocations: 2.283 MB / 1.371 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005675/0.41, allocations: 2.575 MB / 1.373 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003942/0.414, allocations: 2.341 MB / 1.376 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006378/0.4146, allocations: 168 kB / 1.376 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005923/0.4206, allocations: 1.855 MB / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.4221, allocations: 0.7861 MB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.003225/0.4253, allocations: 1.691 MB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.008003/0.4333, allocations: 5.382 MB / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4334, allocations: 3.938 kB / 1.385 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4334, allocations: 3.984 kB / 1.385 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001158/0.4335, allocations: 0 / 1.385 GB, free: 9.523 MB / 0.8855 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.008033/0.4416, allocations: 3.863 MB / 1.389 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4416, allocations: 15.98 kB / 1.389 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/0.4443, allocations: 0.5894 MB / 1.39 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004893/0.4492, allocations: 2.582 MB / 1.392 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.4495, allocations: 302.6 kB / 1.392 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.4498, allocations: 208 kB / 1.393 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00449/0.4543, allocations: 2.567 MB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/0.4544, allocations: 3.938 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.4546, allocations: 91.94 kB / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.058e-05/0.4546, allocations: 60 kB / 1.395 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.459, allocations: 2.219 MB / 1.397 GB, free: 12.73 MB / 0.9011 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.01482/0.4739, allocations: 11.45 MB / 1.409 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/0.4766, allocations: 1.309 MB / 1.41 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.4783, allocations: 0.8123 MB / 1.411 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.4793, allocations: 1.323 MB / 1.412 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/0.4814, allocations: 1.056 MB / 1.413 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=115): time 3.116e-06/0.4814, allocations: 4 kB / 1.413 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115): time 0.005724/0.4872, allocations: 2.383 MB / 1.415 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/0.4874, allocations: 487.8 kB / 1.416 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003515/0.4909, allocations: 2.678 MB / 1.418 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.4911, allocations: 57.7 kB / 1.418 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.4921, allocations: 1.303 MB / 1.42 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.4925, allocations: 406.2 kB / 1.42 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005069/0.493, allocations: 339.2 kB / 1.42 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.4931, allocations: 301.1 kB / 1.421 GB, free: 3.844 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.4947, allocations: 0.7777 MB / 1.421 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.4967, allocations: 1.313 MB / 1.423 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5375/1.034, allocations: 1.857 MB / 1.425 GB, free: 195.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/1.034, allocations: 3.156 kB / 1.425 GB, free: 195.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006455/1.041, allocations: 2.264 MB / 1.427 GB, free: 195.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/1.041, allocations: 39.17 kB / 1.427 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/1.041, allocations: 10.98 kB / 1.427 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.414e-05/1.041, allocations: 17.62 kB / 1.427 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.043, allocations: 410.9 kB / 1.427 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.544e-05/1.043, allocations: 23.69 kB / 1.427 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/1.046, allocations: 315.2 kB / 1.428 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/1.046, allocations: 69.95 kB / 1.428 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002768/1.048, allocations: 1.281 MB / 1.429 GB, free: 194.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002135/1.051, allocations: 1.302 MB / 1.43 GB, free: 193.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003536/1.054, allocations: 1.849 MB / 1.432 GB, free: 192.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.714e-06/1.054, allocations: 2.75 kB / 1.432 GB, free: 192.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005378/1.06, allocations: 2.248 MB / 1.434 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/1.06, allocations: 45.11 kB / 1.434 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.06, allocations: 9.656 kB / 1.434 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/1.06, allocations: 17.78 kB / 1.434 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/1.061, allocations: 404.7 kB / 1.435 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/1.062, allocations: 27.09 kB / 1.435 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/1.064, allocations: 259.1 kB / 1.435 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/1.064, allocations: 75.95 kB / 1.435 GB, free: 191.8 MB / 0.9167 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.0005445/1.065, allocations: 292 kB / 1.435 GB, free: 191.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007286/1.066, allocations: 279.4 kB / 1.435 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005114/1.071, allocations: 2.092 MB / 1.438 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/1.071, allocations: 14.88 kB / 1.438 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.071, allocations: 1.156 kB / 1.438 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003519/1.074, allocations: 1.653 MB / 1.439 GB, free: 189.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.087, allocations: 5.213 MB / 1.444 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.087, allocations: 6.188 kB / 1.444 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/1.088, allocations: 268.3 kB / 1.445 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/1.088, allocations: 7.844 kB / 1.445 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/1.088, allocations: 43.62 kB / 1.445 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.354e-05/1.088, allocations: 13.03 kB / 1.445 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.088, allocations: 8.734 kB / 1.445 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03687/1.125, allocations: 14.48 MB / 1.459 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.126, allocations: 0.5902 MB / 1.459 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/1.127, allocations: 27.91 kB / 1.459 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/1.128, allocations: 172.8 kB / 1.459 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/1.129, allocations: 113.7 kB / 1.46 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.129, allocations: 63.38 kB / 1.46 GB, free: 179 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00261/1.131, allocations: 1.863 MB / 1.461 GB, free: 178 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.2e-07/1.131, allocations: 0 / 1.461 GB, free: 178 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006276/1.138, allocations: 2.11 MB / 1.464 GB, free: 177.7 MB / 0.9167 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.001476/1.139, allocations: 0.6554 MB / 1.464 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006218/1.145, allocations: 3.006 MB / 1.467 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/1.145, allocations: 4.672 kB / 1.467 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/1.147, allocations: 0.9305 MB / 1.468 GB, free: 174 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006918/1.154, allocations: 1.312 MB / 1.469 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008493/1.163, allocations: 6.462 MB / 1.476 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.164, allocations: 1.803 MB / 1.477 GB, free: 164.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003575/1.168, allocations: 0.7356 MB / 1.478 GB, free: 163.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/1.168, allocations: 223.4 kB / 1.478 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of SimCode: time 8.11e-07/1.168, allocations: 0 / 1.478 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.07767/1.246, allocations: 60.01 MB / 1.537 GB, free: 104 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)