Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.723/1.723, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 179.3 kB / 393.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008406/0.0008407, allocations: 92.34 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004984, allocations: 8 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5492, allocations: 121.3 MB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.08509/0.6344, allocations: 114.8 MB / 1.153 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03174/0.6661, allocations: 28.72 MB / 1.181 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004712/0.6709, allocations: 96.44 kB / 1.181 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.006147/0.6771, allocations: 1.512 MB / 1.183 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.6906, allocations: 3.67 MB / 1.186 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.008231/0.6989, allocations: 2.629 MB / 1.189 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01436/0.7132, allocations: 10.38 MB / 1.199 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004177/0.7174, allocations: 2.214 MB / 1.201 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.723, allocations: 2.535 MB / 1.204 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004738/0.7277, allocations: 2.236 MB / 1.206 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.7291, allocations: 136 kB / 1.206 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006736/0.7359, allocations: 1.741 MB / 1.208 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.7377, allocations: 0.7177 MB / 1.208 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004016/0.7417, allocations: 1.639 MB / 1.21 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.009245/0.751, allocations: 5.275 MB / 1.215 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.751, allocations: 4 kB / 1.215 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.693e-06/0.751, allocations: 4 kB / 1.215 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001436/0.7512, allocations: 0 / 1.215 GB, free: 15.95 MB / 0.7917 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.0068/0.758, allocations: 3.217 MB / 1.218 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.758, allocations: 12.03 kB / 1.218 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/0.7609, allocations: 0.6403 MB / 1.219 GB, free: 12 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/0.7659, allocations: 2.566 MB / 1.221 GB, free: 9.367 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/0.7663, allocations: 302.6 kB / 1.222 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/0.7667, allocations: 200 kB / 1.222 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005442/0.7722, allocations: 2.583 MB / 1.224 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/0.7723, allocations: 19.86 kB / 1.224 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/0.7725, allocations: 91.92 kB / 1.224 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.7726, allocations: 67.92 kB / 1.224 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004836/0.7775, allocations: 2.278 MB / 1.227 GB, free: 3.684 MB / 0.7917 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.01717/0.7946, allocations: 11.48 MB / 1.238 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.7975, allocations: 1.34 MB / 1.239 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.7992, allocations: 0.8548 MB / 1.24 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009619/0.8001, allocations: 1.319 MB / 1.241 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002082/0.8022, allocations: 1.091 MB / 1.242 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=115): time 3.516e-06/0.8023, allocations: 0 / 1.242 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of matching and sorting (n=115): time 0.005777/0.8081, allocations: 2.485 MB / 1.245 GB, free: 256 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/0.8083, allocations: 483.6 kB / 1.245 GB, free: 15.66 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/0.8123, allocations: 2.634 MB / 1.248 GB, free: 13.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.8125, allocations: 57.7 kB / 1.248 GB, free: 12.95 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.8137, allocations: 1.318 MB / 1.249 GB, free: 11.62 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.8141, allocations: 402.3 kB / 1.25 GB, free: 11.22 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.8142, allocations: 32 kB / 1.25 GB, free: 11.19 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8144, allocations: 365.9 kB / 1.25 GB, free: 10.83 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.8161, allocations: 0.7964 MB / 1.251 GB, free: 10.03 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.8181, allocations: 1.336 MB / 1.252 GB, free: 8.477 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/0.8215, allocations: 1.926 MB / 1.254 GB, free: 6.402 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.8215, allocations: 4 kB / 1.254 GB, free: 6.398 MB / 0.823 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004647/0.8262, allocations: 2.319 MB / 1.256 GB, free: 4.062 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.8265, allocations: 421.8 kB / 1.257 GB, free: 3.504 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.8265, allocations: 12 kB / 1.257 GB, free: 3.492 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.8265, allocations: 23.94 kB / 1.257 GB, free: 3.469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.8283, allocations: 435.3 kB / 1.257 GB, free: 3.043 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/0.8283, allocations: 19.94 kB / 1.257 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/0.8306, allocations: 329.7 kB / 1.257 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.8308, allocations: 75.97 kB / 1.257 GB, free: 2.625 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.8308, allocations: 4 kB / 1.257 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003975/0.8348, allocations: 2.039 MB / 1.259 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.8348, allocations: 12 kB / 1.259 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.8349, allocations: 16 kB / 1.259 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.8366, allocations: 428.2 kB / 1.26 GB, free: 132 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.284e-05/0.8366, allocations: 27.92 kB / 1.26 GB, free: 104 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.839, allocations: 306.1 kB / 1.26 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.8392, allocations: 71.98 kB / 1.26 GB, free: 15.73 MB / 0.8386 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001365/0.8406, allocations: 0.6937 MB / 1.261 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/0.8412, allocations: 276.6 kB / 1.261 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/0.8459, allocations: 2.16 MB / 1.263 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/0.846, allocations: 15.98 kB / 1.263 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.846, allocations: 4 kB / 1.263 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003308/0.8493, allocations: 1.716 MB / 1.265 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009604/0.8589, allocations: 5.268 MB / 1.27 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.859, allocations: 8 kB / 1.27 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.8604, allocations: 288 kB / 1.27 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/0.8605, allocations: 12 kB / 1.27 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.8606, allocations: 35.92 kB / 1.27 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/0.8606, allocations: 15.92 kB / 1.271 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.8606, allocations: 8 kB / 1.271 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006148/0.8668, allocations: 3.191 MB / 1.274 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.8683, allocations: 0.6222 MB / 1.274 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007499/0.8691, allocations: 35.92 kB / 1.274 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/0.8714, allocations: 192.8 kB / 1.274 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/0.8717, allocations: 108.7 kB / 1.275 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/0.8719, allocations: 59.95 kB / 1.275 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00324/0.8751, allocations: 1.825 MB / 1.276 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.232e-06/0.8752, allocations: 0 / 1.276 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00452/0.8797, allocations: 1.439 MB / 1.278 GB, free: 13.43 MB / 0.8542 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.001697/0.8814, allocations: 0.6536 MB / 1.278 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006909/0.8883, allocations: 3.109 MB / 1.281 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.8884, allocations: 4.672 kB / 1.281 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.8906, allocations: 0.964 MB / 1.282 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/0.9006, allocations: 1.405 MB / 1.284 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.9119, allocations: 5.89 MB / 1.29 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.9135, allocations: 1.762 MB / 1.291 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003587/0.9171, allocations: 0.7129 MB / 1.292 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000836/0.918, allocations: 239.3 kB / 1.292 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of SimCode: time 7.62e-07/0.918, allocations: 0 / 1.292 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of Templates: time 0.4531/1.371, allocations: 57.56 MB / 1.348 GB, free: 226.2 MB / 0.8855 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)