Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001099/0.001099, allocations: 97.64 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.008719/0.008719, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.549/1.549, allocations: 252 MB / 0.5105 GB, free: 4.66 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005233/0.0005233, allocations: 16 kB / 0.6249 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4644, allocations: 106.3 MB / 0.7287 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1121/0.5766, allocations: 113 MB / 0.839 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02882/0.6055, allocations: 21.02 MB / 0.8596 GB, free: 4.891 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004844/0.6103, allocations: 95.38 kB / 0.8597 GB, free: 4.797 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00525/0.6156, allocations: 1.519 MB / 0.8611 GB, free: 3.27 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.6271, allocations: 3.638 MB / 0.8647 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008216/0.6354, allocations: 2.505 MB / 0.8671 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01394/0.6493, allocations: 10.31 MB / 0.8772 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004367/0.6537, allocations: 2.175 MB / 0.8793 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006256/0.66, allocations: 2.462 MB / 0.8817 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/0.6645, allocations: 2.248 MB / 0.8839 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007696/0.6653, allocations: 132 kB / 0.8841 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004728/0.67, allocations: 1.812 MB / 0.8858 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.6711, allocations: 0.7275 MB / 0.8865 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00255/0.6737, allocations: 1.634 MB / 0.8881 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008506/0.6822, allocations: 5.206 MB / 0.8932 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.6822, allocations: 4 kB / 0.8932 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6822, allocations: 0 / 0.8932 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001061/0.6823, allocations: 4 kB / 0.8932 GB, free: 2.285 MB / 0.7012 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.006807/0.6892, allocations: 3.217 MB / 0.8964 GB, free: 15 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6892, allocations: 8.031 kB / 0.8964 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/0.6924, allocations: 0.6485 MB / 0.897 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/0.6974, allocations: 2.536 MB / 0.8995 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.6978, allocations: 302.6 kB / 0.8998 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/0.6982, allocations: 207.9 kB / 0.9 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006032/0.7042, allocations: 2.579 MB / 0.9025 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.7043, allocations: 7.938 kB / 0.9025 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.7046, allocations: 84 kB / 0.9026 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-05/0.7047, allocations: 71.92 kB / 0.9027 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005288/0.7099, allocations: 2.29 MB / 0.9049 GB, free: 6.051 MB / 0.7169 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.4301/1.14, allocations: 11.43 MB / 0.9161 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/1.143, allocations: 1.344 MB / 0.9174 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/1.145, allocations: 0.8493 MB / 0.9182 GB, free: 167 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008119/1.146, allocations: 1.33 MB / 0.9195 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/1.148, allocations: 1.069 MB / 0.9205 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 4.238e-06/1.148, allocations: 1.078 kB / 0.9205 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.006754/1.155, allocations: 2.494 MB / 0.923 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.155, allocations: 489.8 kB / 0.9234 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00489/1.16, allocations: 2.666 MB / 0.926 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003884/1.161, allocations: 51.33 kB / 0.9261 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/1.162, allocations: 1.305 MB / 0.9274 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005041/1.162, allocations: 405.4 kB / 0.9278 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.163, allocations: 133.4 kB / 0.9279 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.991e-05/1.163, allocations: 301.1 kB / 0.9282 GB, free: 161 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/1.165, allocations: 0.803 MB / 0.929 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.167, allocations: 1.347 MB / 0.9303 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003461/1.17, allocations: 1.94 MB / 0.9322 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/1.17, allocations: 7.125 kB / 0.9322 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004718/1.175, allocations: 2.331 MB / 0.9344 GB, free: 157.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.175, allocations: 424.5 kB / 0.9349 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.175, allocations: 11.84 kB / 0.9349 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/1.175, allocations: 22.88 kB / 0.9349 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/1.177, allocations: 429.4 kB / 0.9353 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/1.177, allocations: 23.77 kB / 0.9353 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/1.179, allocations: 329.3 kB / 0.9356 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/1.18, allocations: 71.97 kB / 0.9357 GB, free: 157 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/1.18, allocations: 3.938 kB / 0.9357 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003899/1.184, allocations: 2.057 MB / 0.9377 GB, free: 156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.184, allocations: 7.625 kB / 0.9377 GB, free: 156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.184, allocations: 26.56 kB / 0.9377 GB, free: 156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.185, allocations: 426.8 kB / 0.9382 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/1.185, allocations: 26.48 kB / 0.9382 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/1.188, allocations: 308.2 kB / 0.9385 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/1.188, allocations: 67.2 kB / 0.9385 GB, free: 155.7 MB / 0.7169 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.001498/1.19, allocations: 0.6799 MB / 0.9392 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000642/1.19, allocations: 283.1 kB / 0.9395 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/1.195, allocations: 2.179 MB / 0.9416 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.195, allocations: 14.56 kB / 0.9416 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.195, allocations: 3.5 kB / 0.9416 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003092/1.198, allocations: 1.718 MB / 0.9433 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00831/1.206, allocations: 5.267 MB / 0.9484 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/1.206, allocations: 4 kB / 0.9484 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.207, allocations: 288.1 kB / 0.9487 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/1.208, allocations: 8 kB / 0.9487 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.741e-05/1.208, allocations: 35.98 kB / 0.9488 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/1.208, allocations: 15.98 kB / 0.9488 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.208, allocations: 7.938 kB / 0.9488 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/1.213, allocations: 3.199 MB / 0.9519 GB, free: 143.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.215, allocations: 0.6182 MB / 0.9525 GB, free: 143.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/1.215, allocations: 31.98 kB / 0.9525 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/1.217, allocations: 188.7 kB / 0.9527 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/1.217, allocations: 108.7 kB / 0.9528 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.218, allocations: 59.95 kB / 0.9529 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002697/1.22, allocations: 1.848 MB / 0.9547 GB, free: 141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.21e-07/1.22, allocations: 0 / 0.9547 GB, free: 141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004741/1.225, allocations: 1.416 MB / 0.9561 GB, free: 139.6 MB / 0.7169 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.001501/1.227, allocations: 0.6484 MB / 0.9567 GB, free: 139.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005918/1.232, allocations: 3.117 MB / 0.9597 GB, free: 136 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.232, allocations: 4 kB / 0.9597 GB, free: 135.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/1.234, allocations: 0.964 MB / 0.9607 GB, free: 135 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009503/1.244, allocations: 1.407 MB / 0.9621 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/1.252, allocations: 5.898 MB / 0.9678 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009697/1.253, allocations: 1.762 MB / 0.9695 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003083/1.256, allocations: 0.6943 MB / 0.9702 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007553/1.257, allocations: 235.3 kB / 0.9704 GB, free: 125 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/1.257, allocations: 0 / 0.9704 GB, free: 125 MB / 0.7169 GB Notification: Performance of Templates: time 0.07855/1.335, allocations: 57.11 MB / 1.026 GB, free: 68.61 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: