Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_latest_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.001646/0.001646, 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.001841/0.001841, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.464/2.464, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 60.78 kB / 0.8992 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2621, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05821/0.3204, allocations: 62.64 MB / 1.114 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.337, allocations: 13.66 MB / 1.127 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.3386, allocations: 59.69 kB / 1.127 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.3409, allocations: 0.9471 MB / 1.128 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.346, allocations: 2.393 MB / 1.131 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.3495, allocations: 1.618 MB / 1.132 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004608/0.3541, allocations: 4.287 MB / 1.136 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.356, allocations: 1.41 MB / 1.138 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.3592, allocations: 1.634 MB / 1.139 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.3612, allocations: 1.292 MB / 1.141 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00059/0.3618, allocations: 172 kB / 1.141 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.3653, allocations: 1.435 MB / 1.142 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007957/0.3661, allocations: 0.4945 MB / 1.143 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.3678, allocations: 1.011 MB / 1.144 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.3719, allocations: 3.132 MB / 1.147 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3719, allocations: 0 / 1.147 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3719, allocations: 0 / 1.147 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.3719, allocations: 0 / 1.147 GB, free: 7.773 MB / 0.9044 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.003927/0.3759, allocations: 2.333 MB / 1.149 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3759, allocations: 12.62 kB / 1.149 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001957/0.3761, allocations: 168.8 kB / 1.149 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.3775, allocations: 322.4 kB / 1.15 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.3794, allocations: 1.411 MB / 1.151 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.3796, allocations: 165.4 kB / 1.151 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.3797, allocations: 108 kB / 1.151 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.3824, allocations: 1.438 MB / 1.153 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.3824, allocations: 3.906 kB / 1.153 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.3825, allocations: 48 kB / 1.153 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.3826, allocations: 39.92 kB / 1.153 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/0.3856, allocations: 1.331 MB / 1.154 GB, free: 192 kB / 0.9044 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.00714/0.3928, allocations: 6.686 MB / 1.161 GB, free: 9.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.3949, allocations: 1.164 MB / 1.162 GB, free: 7.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.3962, allocations: 0.5649 MB / 1.162 GB, free: 7.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008145/0.397, allocations: 1.141 MB / 1.163 GB, free: 5.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.3971, allocations: 51.86 kB / 1.163 GB, free: 5.785 MB / 0.92 GB Notification: Performance of pre-optimization done (n=77): time 2.194e-06/0.3971, allocations: 0 / 1.163 GB, free: 5.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=77): time 0.004082/0.4012, allocations: 1.593 MB / 1.165 GB, free: 4.184 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.4012, allocations: 111.5 kB / 1.165 GB, free: 4.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.4029, allocations: 1.412 MB / 1.166 GB, free: 2.629 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.525e-05/0.403, allocations: 41.7 kB / 1.166 GB, free: 2.582 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/0.4035, allocations: 0.7164 MB / 1.167 GB, free: 1.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.4037, allocations: 256.2 kB / 1.167 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.404, allocations: 182.5 kB / 1.168 GB, free: 1.414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4042, allocations: 341.9 kB / 1.168 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.4054, allocations: 0.4927 MB / 1.168 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.4068, allocations: 0.7234 MB / 1.169 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.4093, allocations: 1.129 MB / 1.17 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4093, allocations: 0 / 1.17 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002952/0.4122, allocations: 1.355 MB / 1.172 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4123, allocations: 8 kB / 1.172 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4123, allocations: 7.984 kB / 1.172 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4123, allocations: 8 kB / 1.172 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4134, allocations: 271.8 kB / 1.172 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.4135, allocations: 15.92 kB / 1.172 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.4145, allocations: 154.9 kB / 1.172 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.4146, allocations: 39.98 kB / 1.172 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001585/0.4162, allocations: 0.7985 MB / 1.173 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001343/0.4175, allocations: 0.7191 MB / 1.173 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002436/0.42, allocations: 1.129 MB / 1.175 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.958e-06/0.42, allocations: 4 kB / 1.175 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002902/0.4229, allocations: 1.343 MB / 1.176 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.4229, allocations: 8 kB / 1.176 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4229, allocations: 4 kB / 1.176 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.4229, allocations: 8.562 kB / 1.176 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.4241, allocations: 275.5 kB / 1.176 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.4241, allocations: 11.94 kB / 1.176 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009989/0.4251, allocations: 155.1 kB / 1.176 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/0.4252, allocations: 35.98 kB / 1.176 GB, free: 8.059 MB / 0.9356 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.0002209/0.4254, allocations: 232.1 kB / 1.177 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.4257, allocations: 146.2 kB / 1.177 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.4288, allocations: 1.482 MB / 1.178 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4288, allocations: 8 kB / 1.178 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4288, allocations: 11.86 kB / 1.178 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002445/0.4312, allocations: 1.105 MB / 1.179 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/0.4363, allocations: 3.094 MB / 1.182 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4363, allocations: 4 kB / 1.182 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009113/0.4372, allocations: 196.3 kB / 1.182 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.4372, allocations: 8 kB / 1.183 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.4373, allocations: 19.98 kB / 1.183 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.4373, allocations: 11.94 kB / 1.183 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4373, allocations: 7.938 kB / 1.183 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.4414, allocations: 2.064 MB / 1.185 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.4419, allocations: 378.9 kB / 1.185 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.4422, allocations: 27.84 kB / 1.185 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.4432, allocations: 99.8 kB / 1.185 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.4434, allocations: 88.34 kB / 1.185 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.4435, allocations: 43.95 kB / 1.185 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001592/0.4451, allocations: 1.079 MB / 1.186 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4451, allocations: 0 / 1.186 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001656/0.4468, allocations: 0.7955 MB / 1.187 GB, free: 12.9 MB / 0.9512 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.005129/0.4519, allocations: 2.984 MB / 1.19 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004244/0.4562, allocations: 1.872 MB / 1.192 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.4562, allocations: 8.438 kB / 1.192 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.4576, allocations: 0.6404 MB / 1.192 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.4609, allocations: 0.8324 MB / 1.193 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.4799, allocations: 13.67 MB / 1.207 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/0.4807, allocations: 1.281 MB / 1.208 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001447/0.4821, allocations: 416 kB / 1.208 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008001/0.4829, allocations: 0.6164 MB / 1.209 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.483, allocations: 0 / 1.209 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.463/2.946, allocations: 46.58 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/17.82, allocations: 3.703 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)