Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009085/0.0009085, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008762/0.0008763, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.56/1.56, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.000518/0.000518, allocations: 12.41 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2458, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.08788/0.3337, allocations: 96.52 MB / 0.8814 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.3581, allocations: 17.78 MB / 0.8987 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00414/0.3622, allocations: 87.38 kB / 0.8988 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005181/0.3675, allocations: 1.419 MB / 0.9002 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.378, allocations: 3.63 MB / 0.9037 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007618/0.3856, allocations: 2.716 MB / 0.9064 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3949/0.7805, allocations: 4.684 MB / 0.911 GB, free: 40.08 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003349/0.7839, allocations: 2.004 MB / 0.9129 GB, free: 39.92 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.7881, allocations: 2.18 MB / 0.9151 GB, free: 39.92 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.79, allocations: 1.549 MB / 0.9166 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.7903, allocations: 123.1 kB / 0.9167 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.7934, allocations: 1.221 MB / 0.9179 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006304/0.794, allocations: 0.6278 MB / 0.9185 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006992/0.7947, allocations: 0.6621 MB / 0.9191 GB, free: 39.88 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004358/0.7991, allocations: 3.86 MB / 0.9229 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.7991, allocations: 0 / 0.9229 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7991, allocations: 0 / 0.9229 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.083e-05/0.7992, allocations: 0 / 0.9229 GB, free: 39.61 MB / 0.7169 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.006097/0.8053, allocations: 3.191 MB / 0.926 GB, free: 38.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.8053, allocations: 9.25 kB / 0.926 GB, free: 38.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.8079, allocations: 0.6467 MB / 0.9267 GB, free: 37.83 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.8125, allocations: 2.512 MB / 0.9291 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/0.8128, allocations: 303.7 kB / 0.9294 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.8132, allocations: 205.6 kB / 0.9296 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005015/0.8182, allocations: 2.473 MB / 0.932 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.676e-05/0.8183, allocations: 6.188 kB / 0.932 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.8185, allocations: 85.25 kB / 0.9321 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.145e-05/0.8186, allocations: 65.09 kB / 0.9322 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/0.823, allocations: 2.077 MB / 0.9342 GB, free: 36.76 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.01337/0.8364, allocations: 10.95 MB / 0.9449 GB, free: 31.45 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.8389, allocations: 1.204 MB / 0.9461 GB, free: 31.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006576/0.8395, allocations: 1.321 MB / 0.9474 GB, free: 29.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/0.8414, allocations: 0.9751 MB / 0.9483 GB, free: 29.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 4.148e-06/0.8414, allocations: 4.844 kB / 0.9483 GB, free: 29.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.005004/0.8464, allocations: 2.178 MB / 0.9504 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.8465, allocations: 484.6 kB / 0.9509 GB, free: 28.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/0.8498, allocations: 2.513 MB / 0.9534 GB, free: 28.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/0.8501, allocations: 56.17 kB / 0.9534 GB, free: 28.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009417/0.851, allocations: 1.321 MB / 0.9547 GB, free: 28.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/0.8514, allocations: 403.4 kB / 0.9551 GB, free: 28.05 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.8515, allocations: 32.25 kB / 0.9551 GB, free: 28.05 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.8516, allocations: 367.6 kB / 0.9555 GB, free: 27.74 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.853, allocations: 0.6881 MB / 0.9561 GB, free: 27.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.8547, allocations: 1.218 MB / 0.9573 GB, free: 27.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.8563, allocations: 0.8107 MB / 0.9581 GB, free: 27.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.8563, allocations: 7.875 kB / 0.9581 GB, free: 27.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00435/0.8607, allocations: 2.095 MB / 0.9602 GB, free: 26.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007959/0.8615, allocations: 4.321 MB / 0.9644 GB, free: 22.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.8615, allocations: 9.812 kB / 0.9644 GB, free: 22.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.8616, allocations: 17.69 kB / 0.9644 GB, free: 22.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.8632, allocations: 423.9 kB / 0.9648 GB, free: 22.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.913e-05/0.8633, allocations: 23.28 kB / 0.9648 GB, free: 22.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/0.8661, allocations: 337.9 kB / 0.9652 GB, free: 22.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.8663, allocations: 72.75 kB / 0.9652 GB, free: 22.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.8663, allocations: 2.25 kB / 0.9652 GB, free: 22.18 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003486/0.8698, allocations: 1.836 MB / 0.967 GB, free: 22.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.8698, allocations: 15.23 kB / 0.9671 GB, free: 22.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.8698, allocations: 18.91 kB / 0.9671 GB, free: 22.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.8714, allocations: 420.3 kB / 0.9675 GB, free: 22.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.103e-05/0.8714, allocations: 25.45 kB / 0.9675 GB, free: 22.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/0.8744, allocations: 310.4 kB / 0.9678 GB, free: 21.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.8747, allocations: 72.02 kB / 0.9679 GB, free: 21.98 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 ($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.0022/0.8769, allocations: 0.6879 MB / 0.9685 GB, free: 21.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009609/0.8779, allocations: 274.7 kB / 0.9688 GB, free: 21.65 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/0.8823, allocations: 1.95 MB / 0.9707 GB, free: 21.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.8823, allocations: 12.91 kB / 0.9707 GB, free: 21.39 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.8823, allocations: 7.312 kB / 0.9707 GB, free: 21.38 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002751/0.8851, allocations: 1.515 MB / 0.9722 GB, free: 20.92 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008483/0.8936, allocations: 4.767 MB / 0.9768 GB, free: 19.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.8936, allocations: 9.594 kB / 0.9769 GB, free: 19.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.8949, allocations: 282.3 kB / 0.9771 GB, free: 18.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-05/0.8949, allocations: 12.5 kB / 0.9771 GB, free: 18.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.895, allocations: 38.66 kB / 0.9772 GB, free: 18.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.895, allocations: 13.06 kB / 0.9772 GB, free: 18.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.895, allocations: 11.94 kB / 0.9772 GB, free: 18.97 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005125/0.9002, allocations: 3.382 MB / 0.9805 GB, free: 17.36 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.9017, allocations: 0.585 MB / 0.9811 GB, free: 17.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006795/0.9023, allocations: 31.14 kB / 0.9811 GB, free: 17.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00221/0.9046, allocations: 185.7 kB / 0.9813 GB, free: 16.94 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.9048, allocations: 123.7 kB / 0.9814 GB, free: 16.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.9049, allocations: 57.67 kB / 0.9815 GB, free: 16.88 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002747/0.9077, allocations: 1.743 MB / 0.9832 GB, free: 16.46 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9077, allocations: 0 / 0.9832 GB, free: 16.46 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00462/0.9123, allocations: 1.406 MB / 0.9845 GB, free: 16.27 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 (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.001482/0.9138, allocations: 0.6562 MB / 0.9852 GB, free: 16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00567/0.9195, allocations: 2.784 MB / 0.9879 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.9196, allocations: 4.031 kB / 0.9879 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.9213, allocations: 0.8568 MB / 0.9887 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006703/0.928, allocations: 1.304 MB / 0.99 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008983/0.9371, allocations: 5.586 MB / 0.9955 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/0.9389, allocations: 1.815 MB / 0.9972 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004548/0.9435, allocations: 0.696 MB / 0.9979 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000934/0.9444, allocations: 208.4 kB / 0.9981 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of SimCode: time 1.693e-06/0.9444, allocations: 4 kB / 0.9981 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.08016/1.025, allocations: 50.96 MB / 1.048 GB, free: 4.5 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: