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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.281/1.281, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.629/1.629, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002177/0.002177, allocations: 71.56 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.236, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06037/0.2964, allocations: 62.64 MB / 0.8448 GB, free: 14.44 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02711/0.3236, allocations: 13.57 MB / 0.858 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.3267, allocations: 63.62 kB / 0.8581 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004056/0.3309, allocations: 0.9473 MB / 0.859 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.3384, allocations: 2.366 MB / 0.8613 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004326/0.3427, allocations: 1.633 MB / 0.8629 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005836/0.3486, allocations: 4.259 MB / 0.8671 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.351, allocations: 1.417 MB / 0.8685 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.3549, allocations: 1.644 MB / 0.8701 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.3573, allocations: 1.28 MB / 0.8713 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005881/0.3579, allocations: 176 kB / 0.8715 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/0.3615, allocations: 1.431 MB / 0.8729 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007686/0.3623, allocations: 0.5023 MB / 0.8734 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.3642, allocations: 1.007 MB / 0.8744 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005743/0.3699, allocations: 3.167 MB / 0.8775 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.37, allocations: 0 / 0.8775 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.205e-06/0.37, allocations: 0 / 0.8775 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.104e-05/0.3701, allocations: 0 / 0.8775 GB, free: 12.87 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.005941/0.376, allocations: 2.337 MB / 0.8798 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.3761, allocations: 8.031 kB / 0.8798 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003367/0.3765, allocations: 172.8 kB / 0.8799 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.378, allocations: 314.4 kB / 0.8802 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.381, allocations: 1.463 MB / 0.8817 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.3812, allocations: 153.5 kB / 0.8818 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.3814, allocations: 108 kB / 0.8819 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.3844, allocations: 1.438 MB / 0.8833 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.3844, allocations: 7.938 kB / 0.8833 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.3846, allocations: 51.97 kB / 0.8834 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.3846, allocations: 36 kB / 0.8834 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/0.3878, allocations: 1.335 MB / 0.8847 GB, free: 5.242 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.008714/0.3965, allocations: 6.628 MB / 0.8912 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.3988, allocations: 1.177 MB / 0.8923 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.4001, allocations: 0.5532 MB / 0.8929 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008266/0.4009, allocations: 1.145 MB / 0.894 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.401, allocations: 51.22 kB / 0.894 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=77): time 2.624e-06/0.401, allocations: 0 / 0.894 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=77): time 0.004203/0.4052, allocations: 1.581 MB / 0.8956 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.4053, allocations: 115.5 kB / 0.8957 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.4076, allocations: 1.4 MB / 0.8971 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.4078, allocations: 45.69 kB / 0.8971 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.4084, allocations: 0.7047 MB / 0.8978 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.4087, allocations: 272.1 kB / 0.898 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.409, allocations: 178.5 kB / 0.8982 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.4092, allocations: 345.9 kB / 0.8985 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.4104, allocations: 0.4966 MB / 0.899 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.4119, allocations: 0.7191 MB / 0.8997 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.4144, allocations: 1.125 MB / 0.9008 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.4144, allocations: 4 kB / 0.9008 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003382/0.4178, allocations: 1.347 MB / 0.9021 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4179, allocations: 8 kB / 0.9022 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.4179, allocations: 4 kB / 0.9022 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.4179, allocations: 8 kB / 0.9022 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.4191, allocations: 275.9 kB / 0.9024 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/0.4191, allocations: 15.88 kB / 0.9024 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.4205, allocations: 154.9 kB / 0.9026 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.4206, allocations: 39.98 kB / 0.9026 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001805/0.4224, allocations: 0.7946 MB / 0.9034 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001399/0.4238, allocations: 0.723 MB / 0.9041 GB, free: 240 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002503/0.4263, allocations: 1.121 MB / 0.9052 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.535e-06/0.4263, allocations: 4 kB / 0.9052 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.00327/0.4296, allocations: 1.339 MB / 0.9065 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4296, allocations: 8 kB / 0.9065 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4297, allocations: 4.562 kB / 0.9065 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4297, allocations: 15.94 kB / 0.9065 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4308, allocations: 271.6 kB / 0.9068 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/0.4309, allocations: 15.94 kB / 0.9068 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.4322, allocations: 147.1 kB / 0.907 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/0.4323, allocations: 35.98 kB / 0.907 GB, free: 13.2 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.0003474/0.4326, allocations: 232 kB / 0.9072 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/0.4332, allocations: 150.2 kB / 0.9074 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/0.4365, allocations: 1.478 MB / 0.9088 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.4366, allocations: 4 kB / 0.9088 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.4366, allocations: 7.938 kB / 0.9088 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002442/0.439, allocations: 1.101 MB / 0.9099 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/0.445, allocations: 3.094 MB / 0.9129 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.4451, allocations: 4 kB / 0.9129 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009354/0.446, allocations: 195.7 kB / 0.9131 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.4461, allocations: 11.94 kB / 0.9131 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.4461, allocations: 20.27 kB / 0.9131 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.4462, allocations: 19.88 kB / 0.9132 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4462, allocations: 4 kB / 0.9132 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/0.4507, allocations: 2.068 MB / 0.9152 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000829/0.4515, allocations: 378.8 kB / 0.9155 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/0.4519, allocations: 20 kB / 0.9156 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.4532, allocations: 111.8 kB / 0.9157 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.4534, allocations: 76.41 kB / 0.9157 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.4535, allocations: 43.97 kB / 0.9158 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001653/0.4552, allocations: 1.075 MB / 0.9168 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4552, allocations: 0 / 0.9168 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002213/0.4574, allocations: 0.7993 MB / 0.9176 GB, free: 2.055 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.4007/0.8581, allocations: 2.971 MB / 0.9205 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004835/0.863, allocations: 1.816 MB / 0.9223 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.863, allocations: 2.125 kB / 0.9223 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.8647, allocations: 0.6433 MB / 0.9229 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/0.8687, allocations: 0.8157 MB / 0.9237 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/0.8881, allocations: 12.43 MB / 0.9358 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009522/0.8891, allocations: 1.277 MB / 0.9371 GB, free: 128 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001956/0.891, allocations: 407.7 kB / 0.9375 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008234/0.8919, allocations: 0.612 MB / 0.9381 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.8919, allocations: 0 / 0.9381 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07404/0.9659, allocations: 46.59 MB / 0.9836 GB, free: 95.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.98, allocations: 7.922 kB / 0.9836 GB, free: 95.79 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)