Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001053, allocations: 176.1 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 0.5786 GB, free: 20.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008188/0.0008189, allocations: 82.38 kB / 0.6832 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 9.719 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.198, allocations: 106.3 MB / 0.9014 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.04555/0.2436, allocations: 61.16 MB / 0.9612 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.2638, allocations: 13.8 MB / 0.9746 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.2667, allocations: 55.62 kB / 0.9747 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.2701, allocations: 0.8938 MB / 0.9756 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007255/0.2774, allocations: 2.189 MB / 0.9777 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004709/0.2821, allocations: 1.415 MB / 0.9791 GB, free: 64 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00803/0.2902, allocations: 5.408 MB / 0.9844 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002921/0.2931, allocations: 1.153 MB / 0.9855 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.2971, allocations: 1.396 MB / 0.9869 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.2997, allocations: 1.233 MB / 0.9881 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006328/0.3004, allocations: 72 kB / 0.9881 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.3043, allocations: 1.294 MB / 0.9894 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007986/0.3051, allocations: 402.3 kB / 0.9898 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.3072, allocations: 0.8993 MB / 0.9907 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.3113, allocations: 2.358 MB / 0.993 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3113, allocations: 0 / 0.993 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3113, allocations: 4 kB / 0.993 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.434e-05/0.3114, allocations: 0 / 0.993 GB, free: 1.773 MB / 0.6355 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.00555/0.317, allocations: 2.024 MB / 0.9949 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.317, allocations: 8.031 kB / 0.9949 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.3189, allocations: 346.4 kB / 0.9953 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/0.3225, allocations: 1.424 MB / 0.9967 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.3228, allocations: 165.5 kB / 0.9968 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.3231, allocations: 112 kB / 0.9969 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.3266, allocations: 1.473 MB / 0.9984 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.016e-05/0.3267, allocations: 7.938 kB / 0.9984 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.3268, allocations: 40 kB / 0.9984 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.3269, allocations: 43.91 kB / 0.9985 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/0.3304, allocations: 1.44 MB / 0.9999 GB, free: 10.49 MB / 0.6511 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.01072/0.3412, allocations: 6.619 MB / 1.006 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.3436, allocations: 1.236 MB / 1.008 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.345, allocations: 0.6156 MB / 1.008 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009421/0.3459, allocations: 1.145 MB / 1.009 GB, free: 96 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.346, allocations: 39.22 kB / 1.009 GB, free: 48 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=77): time 5.32e-06/0.346, allocations: 4 kB / 1.009 GB, free: 44 kB / 0.6511 GB Notification: Performance of matching and sorting (n=77): time 0.004561/0.3506, allocations: 1.738 MB / 1.011 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.3507, allocations: 111.5 kB / 1.011 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.3531, allocations: 1.385 MB / 1.012 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.3533, allocations: 45.7 kB / 1.012 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006569/0.3539, allocations: 0.7123 MB / 1.013 GB, free: 12 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.3542, allocations: 260.2 kB / 1.013 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.3543, allocations: 16 kB / 1.013 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3545, allocations: 341.9 kB / 1.014 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.3558, allocations: 0.5367 MB / 1.014 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.3573, allocations: 0.7738 MB / 1.015 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.3601, allocations: 1.238 MB / 1.016 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3601, allocations: 0 / 1.016 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003564/0.3637, allocations: 1.449 MB / 1.018 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.3639, allocations: 236.3 kB / 1.018 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3639, allocations: 8 kB / 1.018 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/0.3639, allocations: 11.94 kB / 1.018 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.3652, allocations: 295.6 kB / 1.018 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/0.3652, allocations: 12 kB / 1.018 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.3668, allocations: 215 kB / 1.018 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.367, allocations: 36 kB / 1.018 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.367, allocations: 4 kB / 1.018 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003094/0.3701, allocations: 1.296 MB / 1.02 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3701, allocations: 4 kB / 1.02 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3702, allocations: 11.94 kB / 1.02 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.3714, allocations: 291.9 kB / 1.02 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.3714, allocations: 19.94 kB / 1.02 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.373, allocations: 211 kB / 1.02 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.3732, allocations: 36 kB / 1.02 GB, free: 4.492 MB / 0.6667 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 (reaToInt.y,intGreThr.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.001003/0.3742, allocations: 464.7 kB / 1.021 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/0.3747, allocations: 150.1 kB / 1.021 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.3784, allocations: 1.579 MB / 1.022 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/0.3785, allocations: 8 kB / 1.022 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.3785, allocations: 0 / 1.022 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002739/0.3813, allocations: 1.207 MB / 1.024 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007284/0.3886, allocations: 3.176 MB / 1.027 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.3886, allocations: 4 kB / 1.027 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.3896, allocations: 220.3 kB / 1.027 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.28e-05/0.3897, allocations: 8 kB / 1.027 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/0.3898, allocations: 19.98 kB / 1.027 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/0.3898, allocations: 12 kB / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.3898, allocations: 11.92 kB / 1.027 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/0.3947, allocations: 2.216 MB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.3959, allocations: 398.7 kB / 1.029 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/0.3964, allocations: 20 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/0.398, allocations: 167.7 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.3982, allocations: 88.33 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.3983, allocations: 35.97 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001992/0.4003, allocations: 1.06 MB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4004, allocations: 3.938 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002561/0.4029, allocations: 0.7877 MB / 1.032 GB, free: 8.598 MB / 0.6823 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.001155/0.4041, allocations: 456.6 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004639/0.4087, allocations: 1.959 MB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.4088, allocations: 0 / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.4104, allocations: 0.6718 MB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005612/0.416, allocations: 0.8418 MB / 1.035 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006143/0.4222, allocations: 3.423 MB / 1.039 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.4233, allocations: 1.27 MB / 1.04 GB, free: 15.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/0.4241, allocations: 147.2 kB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/0.4241, allocations: 0 / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of Templates: time 0.4605/0.8846, allocations: 28.1 MB / 1.068 GB, free: 136.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)