Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.971/2.971, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.002566/0.002566, allocations: 188.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 102.8 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007978/0.0007982, allocations: 12.12 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2233, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.7944/1.018, allocations: 96.52 MB / 1.072 GB, free: 37.67 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04018/1.058, allocations: 18.21 MB / 1.09 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005451/1.064, allocations: 90.34 kB / 1.09 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008291/1.072, allocations: 1.562 MB / 1.092 GB, free: 37.51 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01925/1.091, allocations: 3.622 MB / 1.095 GB, free: 37.47 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01447/1.106, allocations: 2.738 MB / 1.098 GB, free: 37.38 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01451/1.12, allocations: 4.694 MB / 1.103 GB, free: 37.37 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006199/1.127, allocations: 2.001 MB / 1.105 GB, free: 37.11 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008525/1.135, allocations: 2.176 MB / 1.107 GB, free: 36.83 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005576/1.141, allocations: 1.551 MB / 1.108 GB, free: 36.48 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001571/1.142, allocations: 123.1 kB / 1.108 GB, free: 36.48 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009087/1.151, allocations: 1.211 MB / 1.11 GB, free: 36.45 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002278/1.154, allocations: 0.6344 MB / 1.11 GB, free: 36.34 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002764/1.157, allocations: 0.6657 MB / 1.111 GB, free: 36.2 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/1.167, allocations: 3.876 MB / 1.115 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.167, allocations: 0 / 1.115 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.895e-06/1.167, allocations: 1.031 kB / 1.115 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001687/1.167, allocations: 0 / 1.115 GB, free: 35.91 MB / 0.6823 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.01076/1.178, allocations: 3.197 MB / 1.118 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.178, allocations: 13 kB / 1.118 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/1.183, allocations: 0.6389 MB / 1.118 GB, free: 33.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008166/1.192, allocations: 2.512 MB / 1.121 GB, free: 32.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000543/1.192, allocations: 307.5 kB / 1.121 GB, free: 32.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007818/1.193, allocations: 202.1 kB / 1.121 GB, free: 32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009054/1.202, allocations: 2.471 MB / 1.124 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-05/1.202, allocations: 7.594 kB / 1.124 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004491/1.203, allocations: 89.61 kB / 1.124 GB, free: 30.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/1.203, allocations: 57.98 kB / 1.124 GB, free: 30.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0094/1.212, allocations: 2.084 MB / 1.126 GB, free: 29.3 MB / 0.6823 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.02367/1.236, allocations: 10.95 MB / 1.137 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004879/1.241, allocations: 1.213 MB / 1.138 GB, free: 19.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.242, allocations: 1.321 MB / 1.139 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003606/1.246, allocations: 0.9726 MB / 1.14 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=115): time 5.009e-06/1.246, allocations: 0 / 1.14 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=115): time 0.009477/1.255, allocations: 2.178 MB / 1.142 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/1.255, allocations: 489.2 kB / 1.143 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005787/1.261, allocations: 2.509 MB / 1.145 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005567/1.262, allocations: 57.11 kB / 1.145 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001571/1.263, allocations: 1.333 MB / 1.146 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006665/1.264, allocations: 397.9 kB / 1.147 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.264, allocations: 30.19 kB / 1.147 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.264, allocations: 365.9 kB / 1.147 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/1.267, allocations: 0.6871 MB / 1.148 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/1.27, allocations: 1.219 MB / 1.149 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/1.273, allocations: 0.8184 MB / 1.15 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.274, allocations: 3.156 kB / 1.15 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007668/1.281, allocations: 2.096 MB / 1.152 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009016/1.282, allocations: 4.323 MB / 1.156 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/1.282, allocations: 10.62 kB / 1.156 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.625e-05/1.282, allocations: 18.34 kB / 1.156 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/1.286, allocations: 419.6 kB / 1.157 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-05/1.286, allocations: 30.75 kB / 1.157 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/1.29, allocations: 335.8 kB / 1.157 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/1.291, allocations: 68.78 kB / 1.157 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.291, allocations: 10.62 kB / 1.157 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007071/1.298, allocations: 1.831 MB / 1.159 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.298, allocations: 12.44 kB / 1.159 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.298, allocations: 18.5 kB / 1.159 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00324/1.301, allocations: 420.8 kB / 1.159 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.51e-05/1.301, allocations: 28.05 kB / 1.159 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/1.305, allocations: 309.5 kB / 1.159 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/1.306, allocations: 74.28 kB / 1.16 GB, free: 3.449 MB / 0.6823 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 ($whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00205/1.308, allocations: 0.6903 MB / 1.16 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/1.309, allocations: 280.3 kB / 1.16 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007132/1.316, allocations: 1.952 MB / 1.162 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.556e-05/1.316, allocations: 12.5 kB / 1.162 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.316, allocations: 3.25 kB / 1.162 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00545/1.322, allocations: 1.509 MB / 1.164 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.337, allocations: 4.768 MB / 1.169 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.337, allocations: 4.75 kB / 1.169 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/1.339, allocations: 279.6 kB / 1.169 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/1.339, allocations: 12 kB / 1.169 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/1.34, allocations: 39.97 kB / 1.169 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.065e-05/1.34, allocations: 15.94 kB / 1.169 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.34, allocations: 4 kB / 1.169 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.35, allocations: 3.383 MB / 1.172 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002454/1.353, allocations: 0.5869 MB / 1.173 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007532/1.354, allocations: 32 kB / 1.173 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003574/1.357, allocations: 183.9 kB / 1.173 GB, free: 6.898 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004187/1.358, allocations: 120.7 kB / 1.173 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/1.358, allocations: 63.89 kB / 1.173 GB, free: 6.719 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004241/1.362, allocations: 1.743 MB / 1.175 GB, free: 4.977 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.362, allocations: 0 / 1.175 GB, free: 4.977 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006361/1.369, allocations: 1.407 MB / 1.176 GB, free: 3.566 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002071/1.371, allocations: 0.6679 MB / 1.177 GB, free: 2.961 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.381, allocations: 2.785 MB / 1.18 GB, free: 164 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/1.382, allocations: 4.438 kB / 1.18 GB, free: 160 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003598/1.385, allocations: 0.8548 MB / 1.18 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01165/1.397, allocations: 1.29 MB / 1.182 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/1.413, allocations: 5.583 MB / 1.187 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002478/1.415, allocations: 1.815 MB / 1.189 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00626/1.422, allocations: 0.6988 MB / 1.19 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/1.423, allocations: 215.3 kB / 1.19 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of SimCode: time 2.194e-06/1.423, allocations: 4 kB / 1.19 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of Templates: time 0.1655/1.589, allocations: 50.95 MB / 1.24 GB, free: 3.25 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)