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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 252 MB / 267.3 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.001186/0.001186, allocations: 177.7 kB / 327 MB, free: 2.098 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.851/1.851, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.001125/0.001125, allocations: 84.84 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004474, allocations: 8.625 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05183/0.3036, allocations: 61.16 MB / 0.9606 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.3246, allocations: 13.79 MB / 0.9741 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.3275, allocations: 55.69 kB / 0.9741 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.331, allocations: 0.8976 MB / 0.975 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0078/0.3388, allocations: 2.195 MB / 0.9772 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.3437, allocations: 1.42 MB / 0.9786 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007177/0.3508, allocations: 5.406 MB / 0.9838 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.3528, allocations: 1.157 MB / 0.985 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.3557, allocations: 1.384 MB / 0.9863 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.3575, allocations: 1.233 MB / 0.9875 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.3577, allocations: 72 kB / 0.9876 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.3609, allocations: 1.314 MB / 0.9889 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.3614, allocations: 390.4 kB / 0.9892 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.3625, allocations: 0.9071 MB / 0.9901 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004484/0.367, allocations: 2.987 MB / 0.993 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.367, allocations: 0 / 0.993 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.367, allocations: 0 / 0.993 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.288e-05/0.3671, allocations: 0 / 0.993 GB, free: 0.5703 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.004189/0.3713, allocations: 2.018 MB / 0.995 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.3713, allocations: 8.031 kB / 0.995 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/0.3716, allocations: 164.8 kB / 0.9952 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.3729, allocations: 350.4 kB / 0.9955 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.3753, allocations: 1.431 MB / 0.9969 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.3755, allocations: 161.5 kB / 0.9971 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.3756, allocations: 108 kB / 0.9972 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.3784, allocations: 1.473 MB / 0.9986 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.3785, allocations: 0 / 0.9986 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.3786, allocations: 47.98 kB / 0.9987 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.3786, allocations: 35.94 kB / 0.9987 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.3818, allocations: 1.436 MB / 1 GB, free: 9.129 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.008319/0.3902, allocations: 6.639 MB / 1.007 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.3924, allocations: 1.225 MB / 1.008 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.3937, allocations: 0.6118 MB / 1.008 GB, free: 132 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008855/0.3946, allocations: 1.149 MB / 1.009 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3946, allocations: 39.22 kB / 1.01 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=77): time 2.634e-06/0.3947, allocations: 7.938 kB / 1.01 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77): time 0.004238/0.3989, allocations: 1.737 MB / 1.011 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.399, allocations: 111.5 kB / 1.011 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.4008, allocations: 1.385 MB / 1.013 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-05/0.401, allocations: 41.7 kB / 1.013 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/0.4015, allocations: 0.7124 MB / 1.013 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.4018, allocations: 264.1 kB / 1.014 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.4019, allocations: 20 kB / 1.014 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.402, allocations: 338 kB / 1.014 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.4033, allocations: 0.5329 MB / 1.015 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.4047, allocations: 0.7854 MB / 1.015 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/0.4073, allocations: 1.23 MB / 1.017 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4073, allocations: 0 / 1.017 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003234/0.4106, allocations: 1.444 MB / 1.018 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.4108, allocations: 236.9 kB / 1.018 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.4108, allocations: 7.938 kB / 1.018 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.4108, allocations: 8 kB / 1.018 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4121, allocations: 295.6 kB / 1.018 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.4121, allocations: 11.94 kB / 1.018 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.4135, allocations: 223 kB / 1.019 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.4136, allocations: 35.98 kB / 1.019 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.4136, allocations: 4 kB / 1.019 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002868/0.4165, allocations: 1.288 MB / 1.02 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4165, allocations: 4 kB / 1.02 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.4165, allocations: 12.03 kB / 1.02 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.4177, allocations: 295.6 kB / 1.02 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.4178, allocations: 8 kB / 1.02 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.4195, allocations: 215 kB / 1.02 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4196, allocations: 39.98 kB / 1.021 GB, free: 3.125 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.001031/0.4207, allocations: 464.7 kB / 1.021 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.421, allocations: 150.1 kB / 1.021 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/0.4245, allocations: 1.579 MB / 1.023 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.4246, allocations: 8 kB / 1.023 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4246, allocations: 0 / 1.023 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002585/0.4272, allocations: 1.21 MB / 1.024 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005927/0.4331, allocations: 3.18 MB / 1.027 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.4331, allocations: 4 kB / 1.027 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.4342, allocations: 219.7 kB / 1.027 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.4342, allocations: 8 kB / 1.027 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/0.4343, allocations: 23.98 kB / 1.027 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.4343, allocations: 4 kB / 1.027 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.4343, allocations: 11.94 kB / 1.027 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004539/0.4388, allocations: 2.216 MB / 1.029 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008629/0.4397, allocations: 406.6 kB / 1.03 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.4399, allocations: 23.98 kB / 1.03 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.4412, allocations: 163.8 kB / 1.03 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.4415, allocations: 80.34 kB / 1.03 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/0.4416, allocations: 35.97 kB / 1.03 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001619/0.4432, allocations: 1.068 MB / 1.031 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4432, allocations: 4 kB / 1.031 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002121/0.4453, allocations: 0.7914 MB / 1.032 GB, free: 7.215 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.005694/0.451, allocations: 3.109 MB / 1.035 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004552/0.4556, allocations: 1.951 MB / 1.037 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.4556, allocations: 0 / 1.037 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.4572, allocations: 0.699 MB / 1.037 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/0.462, allocations: 0.8293 MB / 1.038 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/0.4879, allocations: 14.39 MB / 1.052 GB, free: 1.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/0.4889, allocations: 1.273 MB / 1.054 GB, free: 184 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.4089/0.8978, allocations: 390 kB / 1.054 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/0.8994, allocations: 0.6219 MB / 1.055 GB, free: 145 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/0.8994, allocations: 0 / 1.055 GB, free: 145 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08317/0.9826, allocations: 46.65 MB / 1.1 GB, free: 119.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.9827, allocations: 262.5 kB / 1.1 GB, free: 119.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.825/4.808, allocations: 0 / 1.1 GB, free: 119.5 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)