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.001487/0.001488, allocations: 108 kB / 15.6 MB, free: 132 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.001952/0.001952, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.373/1.373, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.723/1.723, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001428/0.001428, allocations: 66.81 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06216/0.3, allocations: 62.64 MB / 0.8446 GB, free: 14.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01845/0.3185, allocations: 13.58 MB / 0.8579 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.3207, allocations: 59.69 kB / 0.8579 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.3234, allocations: 0.9473 MB / 0.8589 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005767/0.3291, allocations: 2.37 MB / 0.8612 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.3332, allocations: 1.624 MB / 0.8628 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005817/0.339, allocations: 4.243 MB / 0.8669 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.3411, allocations: 1.41 MB / 0.8683 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003875/0.345, allocations: 1.644 MB / 0.8699 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.3468, allocations: 1.295 MB / 0.8712 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.3472, allocations: 176 kB / 0.8713 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.3503, allocations: 1.435 MB / 0.8727 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004942/0.3508, allocations: 0.4945 MB / 0.8732 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.3519, allocations: 0.9992 MB / 0.8742 GB, free: 148 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.3561, allocations: 3.139 MB / 0.8773 GB, free: 13 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3562, allocations: 0 / 0.8773 GB, free: 13 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3562, allocations: 0 / 0.8773 GB, free: 13 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.156e-05/0.3562, allocations: 0 / 0.8773 GB, free: 13 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.004136/0.3603, allocations: 2.337 MB / 0.8795 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3604, allocations: 8.031 kB / 0.8795 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/0.3606, allocations: 164.8 kB / 0.8797 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.362, allocations: 318.4 kB / 0.88 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.3641, allocations: 1.396 MB / 0.8814 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.3643, allocations: 165.4 kB / 0.8815 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.3645, allocations: 108 kB / 0.8816 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.3673, allocations: 1.434 MB / 0.883 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.3673, allocations: 7.938 kB / 0.883 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.3675, allocations: 44 kB / 0.8831 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.3675, allocations: 35.98 kB / 0.8831 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.3707, allocations: 1.335 MB / 0.8844 GB, free: 5.438 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.00852/0.3793, allocations: 6.663 MB / 0.8909 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.3815, allocations: 1.17 MB / 0.8921 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.3829, allocations: 0.557 MB / 0.8926 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008546/0.3837, allocations: 1.152 MB / 0.8937 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.3838, allocations: 51.22 kB / 0.8938 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=77): time 3.106e-06/0.3838, allocations: 0 / 0.8938 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=77): time 0.004474/0.3883, allocations: 1.581 MB / 0.8953 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.3884, allocations: 111.5 kB / 0.8954 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.3903, allocations: 1.4 MB / 0.8968 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.3905, allocations: 45.7 kB / 0.8968 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/0.3911, allocations: 0.7008 MB / 0.8975 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.3914, allocations: 268.1 kB / 0.8978 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.3917, allocations: 182.4 kB / 0.898 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3918, allocations: 341.9 kB / 0.8983 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.3931, allocations: 0.4966 MB / 0.8988 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.3946, allocations: 0.7191 MB / 0.8995 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.3973, allocations: 1.133 MB / 0.9006 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3973, allocations: 4 kB / 0.9006 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003306/0.4006, allocations: 1.351 MB / 0.9019 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4006, allocations: 8 kB / 0.9019 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4006, allocations: 4 kB / 0.9019 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.4007, allocations: 8 kB / 0.9019 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.4019, allocations: 272.1 kB / 0.9022 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.4019, allocations: 15.88 kB / 0.9022 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.4031, allocations: 158.9 kB / 0.9023 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.771e-05/0.4032, allocations: 39.98 kB / 0.9024 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001724/0.4049, allocations: 0.7946 MB / 0.9032 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001428/0.4064, allocations: 0.7191 MB / 0.9039 GB, free: 404 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002602/0.409, allocations: 1.121 MB / 0.905 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.409, allocations: 0 / 0.905 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003304/0.4123, allocations: 1.346 MB / 0.9063 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4123, allocations: 8.562 kB / 0.9063 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4123, allocations: 4 kB / 0.9063 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.4124, allocations: 12 kB / 0.9063 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.4136, allocations: 271.6 kB / 0.9066 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.4136, allocations: 11.94 kB / 0.9066 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.4148, allocations: 151.1 kB / 0.9067 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.488e-05/0.4149, allocations: 39.98 kB / 0.9068 GB, free: 13.36 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.0003112/0.4152, allocations: 230.9 kB / 0.907 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.4155, allocations: 146.2 kB / 0.9071 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/0.4189, allocations: 1.474 MB / 0.9085 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.4189, allocations: 8 kB / 0.9086 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4189, allocations: 3.938 kB / 0.9086 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002622/0.4216, allocations: 1.113 MB / 0.9096 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006341/0.4279, allocations: 3.093 MB / 0.9127 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.428, allocations: 4 kB / 0.9127 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009778/0.4289, allocations: 196.3 kB / 0.9129 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.429, allocations: 7.938 kB / 0.9129 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.429, allocations: 23.98 kB / 0.9129 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.445e-05/0.4291, allocations: 19.86 kB / 0.9129 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.4291, allocations: 8 kB / 0.9129 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/0.4338, allocations: 2.068 MB / 0.9149 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008176/0.4347, allocations: 378.8 kB / 0.9153 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.435, allocations: 27.94 kB / 0.9153 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.4362, allocations: 103.9 kB / 0.9154 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.4364, allocations: 76.41 kB / 0.9155 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.931e-05/0.4365, allocations: 43.97 kB / 0.9155 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001536/0.438, allocations: 1.075 MB / 0.9166 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4381, allocations: 0 / 0.9166 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002272/0.4403, allocations: 0.8032 MB / 0.9174 GB, free: 2.203 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.3674/0.8077, allocations: 2.968 MB / 0.9203 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005861/0.8136, allocations: 1.876 MB / 0.9221 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/0.8137, allocations: 1.906 kB / 0.9221 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.8156, allocations: 0.6378 MB / 0.9227 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/0.8201, allocations: 0.8297 MB / 0.9235 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/0.8416, allocations: 13.63 MB / 0.9368 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.8427, allocations: 1.275 MB / 0.9381 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002187/0.8449, allocations: 409.9 kB / 0.9385 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009333/0.8459, allocations: 0.6162 MB / 0.9391 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of SimCode: time 2.385e-06/0.8459, allocations: 0 / 0.9391 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08834/0.9342, allocations: 46.59 MB / 0.9846 GB, free: 94.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.972/9.906, allocations: 2.578 kB / 0.9846 GB, free: 94.43 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)