Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_10_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.001507/0.001507, 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.001332/0.001332, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 71.83 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.5633, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05919/0.6225, allocations: 62.1 MB / 1.078 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.6394, allocations: 13.58 MB / 1.091 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.6414, allocations: 55.69 kB / 1.091 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.6439, allocations: 0.8277 MB / 1.092 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005467/0.6494, allocations: 2.218 MB / 1.094 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.6529, allocations: 1.502 MB / 1.095 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004518/0.6574, allocations: 4.31 MB / 1.1 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.6593, allocations: 1.408 MB / 1.101 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.6625, allocations: 1.665 MB / 1.103 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.6643, allocations: 1.338 MB / 1.104 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004453/0.6648, allocations: 172 kB / 1.104 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.6674, allocations: 1.45 MB / 1.105 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000627/0.668, allocations: 0.5023 MB / 1.106 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.6694, allocations: 1.015 MB / 1.107 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.6732, allocations: 3.151 MB / 1.11 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.6732, allocations: 0 / 1.11 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6732, allocations: 0 / 1.11 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.503e-05/0.6732, allocations: 3.938 kB / 1.11 GB, free: 3.059 MB / 0.8575 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.004886/0.6781, allocations: 2.333 MB / 1.112 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6782, allocations: 8.031 kB / 1.112 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002894/0.6785, allocations: 168.8 kB / 1.112 GB, free: 496 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.6799, allocations: 318.4 kB / 1.113 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.6821, allocations: 1.451 MB / 1.114 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.6823, allocations: 161.4 kB / 1.114 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.6825, allocations: 104 kB / 1.114 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.6851, allocations: 1.441 MB / 1.116 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.6852, allocations: 7.844 kB / 1.116 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.6853, allocations: 48 kB / 1.116 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.6853, allocations: 31.98 kB / 1.116 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.6883, allocations: 1.339 MB / 1.117 GB, free: 11.44 MB / 0.8731 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.007132/0.6954, allocations: 6.624 MB / 1.124 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.6975, allocations: 1.17 MB / 1.125 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.6988, allocations: 0.5626 MB / 1.125 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000798/0.6996, allocations: 1.149 MB / 1.126 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.6996, allocations: 43.22 kB / 1.127 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.6996, allocations: 0 / 1.127 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=77): time 0.003958/0.7036, allocations: 1.593 MB / 1.128 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.7037, allocations: 115.6 kB / 1.128 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.7053, allocations: 1.393 MB / 1.13 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.7054, allocations: 41.7 kB / 1.13 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/0.7059, allocations: 0.7085 MB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.7061, allocations: 268.1 kB / 1.131 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.7064, allocations: 178.5 kB / 1.131 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7065, allocations: 341.9 kB / 1.131 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.7077, allocations: 0.4927 MB / 1.132 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.7091, allocations: 0.723 MB / 1.132 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.7115, allocations: 1.133 MB / 1.133 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7115, allocations: 0 / 1.133 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002941/0.7145, allocations: 1.35 MB / 1.135 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7145, allocations: 4 kB / 1.135 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7145, allocations: 8 kB / 1.135 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.7145, allocations: 8 kB / 1.135 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.7157, allocations: 276.2 kB / 1.135 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.7157, allocations: 19.86 kB / 1.135 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.7169, allocations: 191 kB / 1.135 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.717, allocations: 35.98 kB / 1.135 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001561/0.7186, allocations: 0.7985 MB / 1.136 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001334/0.7199, allocations: 0.7191 MB / 1.137 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002351/0.7223, allocations: 1.117 MB / 1.138 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.7223, allocations: 0 / 1.138 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002892/0.7252, allocations: 1.351 MB / 1.139 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.7252, allocations: 6.188 kB / 1.139 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7252, allocations: 4 kB / 1.139 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.7252, allocations: 15.94 kB / 1.139 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7264, allocations: 275.7 kB / 1.139 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.7264, allocations: 12 kB / 1.139 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.7275, allocations: 183 kB / 1.14 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/0.7276, allocations: 43.98 kB / 1.14 GB, free: 3.324 MB / 0.8887 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.0002253/0.7279, allocations: 228 kB / 1.14 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.7281, allocations: 150.2 kB / 1.14 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.7313, allocations: 1.482 MB / 1.141 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.7313, allocations: 12 kB / 1.141 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7313, allocations: 3.938 kB / 1.141 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002488/0.7338, allocations: 1.113 MB / 1.142 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/0.7391, allocations: 3.087 MB / 1.145 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7391, allocations: 4 kB / 1.146 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009529/0.74, allocations: 187.7 kB / 1.146 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.7401, allocations: 8 kB / 1.146 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.7401, allocations: 23.98 kB / 1.146 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.7402, allocations: 15.88 kB / 1.146 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7402, allocations: 12.12 kB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.7443, allocations: 2.06 MB / 1.148 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/0.7449, allocations: 386.7 kB / 1.148 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.7452, allocations: 24 kB / 1.148 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.7465, allocations: 139.8 kB / 1.148 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.7467, allocations: 80.34 kB / 1.148 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/0.7468, allocations: 47.97 kB / 1.148 GB, free: 10 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001353/0.7481, allocations: 1.064 MB / 1.149 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7481, allocations: 0 / 1.149 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001815/0.75, allocations: 0.7954 MB / 1.15 GB, free: 8.145 MB / 0.9044 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.005272/0.7552, allocations: 2.949 MB / 1.153 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004408/0.7597, allocations: 1.876 MB / 1.155 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.7597, allocations: 7.859 kB / 1.155 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.7612, allocations: 0.6405 MB / 1.156 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.7647, allocations: 0.8419 MB / 1.156 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/0.7895, allocations: 14.1 MB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/0.7904, allocations: 1.281 MB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0017/0.7921, allocations: 400.2 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008822/0.793, allocations: 0.6203 MB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of SimCode: time 8.01e-07/0.793, allocations: 0 / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.08/3.873, allocations: 45.76 MB / 1.217 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/3.873, allocations: 258.5 kB / 1.217 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.864/7.737, allocations: 3.094 kB / 1.217 GB, free: 3.195 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)