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.0009311/0.0009309, allocations: 100.6 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.0009509/0.0009509, allocations: 177.3 kB / 15.94 MB, free: 228 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.251/1.251, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.569/1.569, 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.0004903/0.0004904, allocations: 17.66 kB / 0.6735 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2455, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05039/0.296, allocations: 52.39 MB / 0.8383 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.3121, allocations: 11.58 MB / 0.8496 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.3145, allocations: 47.69 kB / 0.8496 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002748/0.3173, allocations: 0.8358 MB / 0.8504 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006715/0.324, allocations: 2.141 MB / 0.8525 GB, free: 8.809 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004712/0.3287, allocations: 1.619 MB / 0.8541 GB, free: 7.215 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00481/0.3336, allocations: 2.522 MB / 0.8566 GB, free: 4.688 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.3353, allocations: 1.074 MB / 0.8576 GB, free: 3.582 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.3377, allocations: 1.211 MB / 0.8588 GB, free: 2.367 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.3391, allocations: 0.8713 MB / 0.8597 GB, free: 1.492 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.3393, allocations: 68 kB / 0.8597 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.3416, allocations: 0.8543 MB / 0.8606 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.342, allocations: 354.6 kB / 0.8609 GB, free: 228 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.3425, allocations: 380.8 kB / 0.8613 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.345, allocations: 2.162 MB / 0.8634 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.345, allocations: 0 / 0.8634 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.503e-06/0.345, allocations: 0 / 0.8634 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.298e-05/0.3451, allocations: 0 / 0.8634 GB, free: 13.68 MB / 0.6856 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.003644/0.3487, allocations: 2.009 MB / 0.8653 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3488, allocations: 8.031 kB / 0.8653 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.3501, allocations: 353.4 kB / 0.8657 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.3525, allocations: 1.399 MB / 0.867 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.3526, allocations: 157.5 kB / 0.8672 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.3528, allocations: 112 kB / 0.8673 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.3553, allocations: 1.426 MB / 0.8687 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.3554, allocations: 7.938 kB / 0.8687 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3555, allocations: 40 kB / 0.8687 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.3555, allocations: 43.98 kB / 0.8688 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.3584, allocations: 1.327 MB / 0.8701 GB, free: 6.602 MB / 0.6856 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.007456/0.3658, allocations: 6.39 MB / 0.8763 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.3679, allocations: 1.155 MB / 0.8774 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/0.3687, allocations: 1.141 MB / 0.8786 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.3687, allocations: 51.22 kB / 0.8786 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=77): time 2.335e-06/0.3687, allocations: 0 / 0.8786 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=77): time 0.003834/0.3726, allocations: 1.566 MB / 0.8801 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.3726, allocations: 119.5 kB / 0.8802 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.3743, allocations: 1.307 MB / 0.8815 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.3745, allocations: 45.7 kB / 0.8816 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007896/0.3753, allocations: 0.7086 MB / 0.8823 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.3755, allocations: 260.2 kB / 0.8825 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.3756, allocations: 23.94 kB / 0.8825 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3757, allocations: 341.9 kB / 0.8829 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3769, allocations: 485.7 kB / 0.8833 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.3783, allocations: 0.7074 MB / 0.884 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.3796, allocations: 0.5221 MB / 0.8845 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3796, allocations: 4 kB / 0.8845 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003045/0.3826, allocations: 1.335 MB / 0.8858 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008106/0.3835, allocations: 1.885 MB / 0.8877 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3835, allocations: 4 kB / 0.8877 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3835, allocations: 15.94 kB / 0.8877 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.3847, allocations: 295.6 kB / 0.888 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.3847, allocations: 11.94 kB / 0.888 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.3861, allocations: 222.8 kB / 0.8882 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.3862, allocations: 43.92 kB / 0.8882 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3862, allocations: 6.812 kB / 0.8882 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002658/0.3889, allocations: 1.179 MB / 0.8894 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3889, allocations: 8 kB / 0.8894 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3889, allocations: 8 kB / 0.8894 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.3901, allocations: 295.9 kB / 0.8897 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3901, allocations: 8 kB / 0.8897 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.3914, allocations: 215 kB / 0.8899 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.3915, allocations: 39.98 kB / 0.8899 GB, free: 1.121 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007428/0.3922, allocations: 460.8 kB / 0.8904 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.3924, allocations: 154.1 kB / 0.8905 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.3954, allocations: 1.47 MB / 0.892 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.3954, allocations: 11.98 kB / 0.892 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3955, allocations: 0 / 0.892 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002406/0.3979, allocations: 1.097 MB / 0.893 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005126/0.403, allocations: 2.899 MB / 0.8959 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.403, allocations: 7.938 kB / 0.8959 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009236/0.404, allocations: 212.2 kB / 0.8961 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.404, allocations: 8 kB / 0.8961 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.4041, allocations: 27.98 kB / 0.8961 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.4041, allocations: 8 kB / 0.8961 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.4041, allocations: 11.94 kB / 0.8961 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004375/0.4085, allocations: 2.298 MB / 0.8984 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007264/0.4092, allocations: 374.7 kB / 0.8987 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.4094, allocations: 20 kB / 0.8988 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.4106, allocations: 166.5 kB / 0.8989 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.4108, allocations: 80.34 kB / 0.899 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/0.4109, allocations: 43.97 kB / 0.899 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001219/0.4121, allocations: 0.9439 MB / 0.9 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4121, allocations: 0 / 0.9 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001858/0.414, allocations: 0.799 MB / 0.9007 GB, free: 5.598 MB / 0.7169 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 (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.0007743/0.4147, allocations: 456.4 kB / 0.9012 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004017/0.4188, allocations: 1.791 MB / 0.9029 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.4188, allocations: 7.859 kB / 0.9029 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.4203, allocations: 0.6327 MB / 0.9035 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.4234, allocations: 0.6792 MB / 0.9042 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.428, allocations: 3.214 MB / 0.9074 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/0.4288, allocations: 1.311 MB / 0.9086 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001664/0.4305, allocations: 382.5 kB / 0.909 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.4308, allocations: 111.4 kB / 0.9091 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.4308, allocations: 0 / 0.9091 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.354/0.7848, allocations: 27.26 MB / 0.9357 GB, free: 129.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: