Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001403/0.001404, allocations: 191 kB / 16.25 MB, free: 6.617 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.1 MB / 222.1 MB, free: 4.691 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.727/1.727, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001359/0.001359, allocations: 70.41 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2238, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05534/0.2792, allocations: 62.1 MB / 0.8435 GB, free: 15.62 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.2969, allocations: 13.48 MB / 0.8567 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.299, allocations: 51.69 kB / 0.8567 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.3016, allocations: 0.8356 MB / 0.8575 GB, free: 1.223 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.3072, allocations: 2.197 MB / 0.8597 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.3109, allocations: 1.515 MB / 0.8611 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004986/0.3159, allocations: 4.259 MB / 0.8653 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.3179, allocations: 1.422 MB / 0.8667 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.3211, allocations: 1.659 MB / 0.8683 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.3228, allocations: 1.338 MB / 0.8696 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.3231, allocations: 176 kB / 0.8698 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.3257, allocations: 1.446 MB / 0.8712 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.3261, allocations: 0.5062 MB / 0.8717 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009717/0.3271, allocations: 1.003 MB / 0.8727 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.3308, allocations: 3.159 MB / 0.8758 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3308, allocations: 0 / 0.8758 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3308, allocations: 4 kB / 0.8758 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.152e-05/0.3309, allocations: 0 / 0.8758 GB, free: 14.46 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004109/0.335, allocations: 2.325 MB / 0.878 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.335, allocations: 12.03 kB / 0.878 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.3364, allocations: 318.4 kB / 0.8783 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.3386, allocations: 1.432 MB / 0.8797 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.3387, allocations: 161.4 kB / 0.8799 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.3389, allocations: 104 kB / 0.88 GB, free: 10 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.3417, allocations: 1.436 MB / 0.8814 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.3417, allocations: 0 / 0.8814 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3418, allocations: 55.98 kB / 0.8815 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.3419, allocations: 39.92 kB / 0.8815 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.3448, allocations: 1.331 MB / 0.8828 GB, free: 7.055 MB / 0.7012 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.007901/0.3527, allocations: 6.616 MB / 0.8893 GB, free: 0 / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.3548, allocations: 1.172 MB / 0.8904 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.3561, allocations: 0.561 MB / 0.8909 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008173/0.3569, allocations: 1.141 MB / 0.8921 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.357, allocations: 47.2 kB / 0.8921 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=77): time 2.114e-06/0.357, allocations: 0.5625 kB / 0.8921 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=77): time 0.004091/0.3611, allocations: 1.589 MB / 0.8937 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.3612, allocations: 115.5 kB / 0.8938 GB, free: 11 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.3629, allocations: 1.385 MB / 0.8951 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-05/0.363, allocations: 41.7 kB / 0.8952 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/0.3635, allocations: 0.7124 MB / 0.8959 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.3638, allocations: 256.2 kB / 0.8961 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/0.3642, allocations: 186.4 kB / 0.8963 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3643, allocations: 334 kB / 0.8966 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.3656, allocations: 0.4966 MB / 0.8971 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.367, allocations: 0.7229 MB / 0.8978 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.3693, allocations: 1.129 MB / 0.8989 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/0.3693, allocations: 4 kB / 0.8989 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002963/0.3723, allocations: 1.347 MB / 0.9002 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3723, allocations: 8.062 kB / 0.9002 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3724, allocations: 8 kB / 0.9002 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3724, allocations: 15.94 kB / 0.9002 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.3736, allocations: 267.6 kB / 0.9005 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.3736, allocations: 15.98 kB / 0.9005 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.3748, allocations: 194.8 kB / 0.9007 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.3749, allocations: 39.98 kB / 0.9007 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001587/0.3765, allocations: 0.7946 MB / 0.9015 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/0.3779, allocations: 0.7191 MB / 0.9022 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002285/0.3802, allocations: 1.133 MB / 0.9033 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.3802, allocations: 0 / 0.9033 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002963/0.3831, allocations: 1.346 MB / 0.9046 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3832, allocations: 8 kB / 0.9046 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3832, allocations: 4 kB / 0.9046 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3832, allocations: 11.98 kB / 0.9047 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.3843, allocations: 272.2 kB / 0.9049 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3844, allocations: 11.94 kB / 0.9049 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3856, allocations: 179.2 kB / 0.9051 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.3857, allocations: 43.92 kB / 0.9051 GB, free: 14.97 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.000286/0.386, allocations: 232.1 kB / 0.9054 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.3863, allocations: 146.2 kB / 0.9055 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.3892, allocations: 1.474 MB / 0.9069 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.3892, allocations: 11.98 kB / 0.9069 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3892, allocations: 0 / 0.9069 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002273/0.3915, allocations: 1.109 MB / 0.908 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005292/0.3968, allocations: 3.086 MB / 0.911 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.3968, allocations: 4 kB / 0.911 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000954/0.3978, allocations: 192.3 kB / 0.9112 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/0.3978, allocations: 11.98 kB / 0.9112 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.3979, allocations: 20 kB / 0.9113 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.3979, allocations: 11.98 kB / 0.9113 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.3979, allocations: 11.88 kB / 0.9113 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/0.4021, allocations: 2.056 MB / 0.9133 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006541/0.4028, allocations: 382.9 kB / 0.9137 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/0.4031, allocations: 27.88 kB / 0.9137 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.4043, allocations: 131.7 kB / 0.9138 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.4045, allocations: 84.34 kB / 0.9139 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/0.4046, allocations: 55.89 kB / 0.9139 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001428/0.406, allocations: 1.06 MB / 0.915 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4061, allocations: 0 / 0.915 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00189/0.4079, allocations: 0.7954 MB / 0.9158 GB, free: 3.812 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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.0009806/0.4089, allocations: 451.3 kB / 0.9162 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004521/0.4135, allocations: 1.876 MB / 0.918 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.4135, allocations: 8.062 kB / 0.918 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.415, allocations: 0.6365 MB / 0.9186 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/0.4192, allocations: 0.837 MB / 0.9195 GB, free: 44 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3811/0.8003, allocations: 3.29 MB / 0.9227 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009561/0.8013, allocations: 1.274 MB / 0.9239 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002404/0.8037, allocations: 406.9 kB / 0.9243 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.8042, allocations: 127.7 kB / 0.9244 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.804e-06/0.8042, allocations: 0 / 0.9244 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.05904/0.8632, allocations: 32.82 MB / 0.9565 GB, free: 120.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)