Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.694/2.694, allocations: 476.7 MB / 0.7678 GB, free: 9.43 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8613/0.8633, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00395/0.8672, allocations: 2.411 MB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.8699, allocations: 1.473 MB / 1.283 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.8701, allocations: 2.656 kB / 1.283 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.8709, allocations: 213.9 kB / 1.283 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.871, allocations: 77.05 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.8715, allocations: 131.9 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.872, allocations: 333.1 kB / 1.283 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.8721, allocations: 31.25 kB / 1.283 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.8724, allocations: 148.9 kB / 1.284 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.8727, allocations: 193.5 kB / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.076e-05/0.8728, allocations: 35.44 kB / 1.284 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.8729, allocations: 71.89 kB / 1.284 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.8731, allocations: 125.7 kB / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.8733, allocations: 172 kB / 1.284 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.874, allocations: 0.496 MB / 1.285 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.874, allocations: 0 / 1.285 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.874, allocations: 0 / 1.285 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.874, allocations: 0 / 1.285 GB, free: 8.047 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001469/0.8755, allocations: 0.725 MB / 1.285 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.8755, allocations: 9.875 kB / 1.285 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.449e-05/0.8755, allocations: 6.312 kB / 1.285 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/0.8756, allocations: 50.89 kB / 1.285 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.8768, allocations: 184.4 kB / 1.286 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.8773, allocations: 359.4 kB / 1.286 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.8775, allocations: 84.48 kB / 1.286 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.8775, allocations: 16.94 kB / 1.286 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.8783, allocations: 302 kB / 1.286 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.8783, allocations: 0 / 1.286 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.8783, allocations: 5.531 kB / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.8783, allocations: 2.594 kB / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.8795, allocations: 421.4 kB / 1.287 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.8813, allocations: 0.8683 MB / 1.288 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.882, allocations: 261.7 kB / 1.288 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.8825, allocations: 204.8 kB / 1.288 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.8826, allocations: 7.312 kB / 1.288 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.8826, allocations: 32.03 kB / 1.288 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.8826, allocations: 4 kB / 1.288 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0019/0.8845, allocations: 0.6571 MB / 1.289 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.8845, allocations: 53.84 kB / 1.289 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.885, allocations: 428.8 kB / 1.289 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.8851, allocations: 27.08 kB / 1.289 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.8852, allocations: 184.5 kB / 1.289 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.8853, allocations: 59.11 kB / 1.289 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.8854, allocations: 41.42 kB / 1.289 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.8856, allocations: 347.8 kB / 1.29 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/0.8862, allocations: 198.5 kB / 1.29 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.8868, allocations: 230.7 kB / 1.29 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.8878, allocations: 374.1 kB / 1.291 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8878, allocations: 1.688 kB / 1.291 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001261/0.8891, allocations: 469.3 kB / 1.291 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8891, allocations: 4.594 kB / 1.291 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8891, allocations: 1.219 kB / 1.291 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8891, allocations: 8.484 kB / 1.291 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.8896, allocations: 69.94 kB / 1.291 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.8896, allocations: 1.672 kB / 1.291 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.89, allocations: 36.53 kB / 1.291 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.89, allocations: 5.594 kB / 1.291 GB, free: 4.371 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002179/0.8902, allocations: 165.1 kB / 1.291 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.8903, allocations: 40.31 kB / 1.291 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.797e-05/0.8904, allocations: 49.91 kB / 1.291 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8904, allocations: 6.344 kB / 1.291 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8904, allocations: 0 / 1.291 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8904, allocations: 1.406 kB / 1.291 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.891, allocations: 474.5 kB / 1.292 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.891, allocations: 0.7031 kB / 1.292 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.8914, allocations: 58.06 kB / 1.292 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.8914, allocations: 1.594 kB / 1.292 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.8914, allocations: 7.219 kB / 1.292 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.8914, allocations: 13.42 kB / 1.292 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8914, allocations: 0.7969 kB / 1.292 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.8927, allocations: 0.5534 MB / 1.292 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.8928, allocations: 124.9 kB / 1.293 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.8929, allocations: 1.25 kB / 1.293 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.8933, allocations: 44.73 kB / 1.293 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.8934, allocations: 22.81 kB / 1.293 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.8934, allocations: 10.3 kB / 1.293 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003782/0.8938, allocations: 307.5 kB / 1.293 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8938, allocations: 0 / 1.293 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003486/0.8941, allocations: 67.02 kB / 1.293 GB, free: 3.254 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.001687/0.8958, allocations: 1.099 MB / 1.294 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.897, allocations: 424 kB / 1.295 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.897, allocations: 0 / 1.295 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.8977, allocations: 218.2 kB / 1.295 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.8981, allocations: 55.08 kB / 1.295 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/0.9055, allocations: 4.152 MB / 1.299 GB, free: 15.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.906, allocations: 0.7925 MB / 1.3 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002976/0.9062, allocations: 65.94 kB / 1.3 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.9065, allocations: 107.5 kB / 1.3 GB, free: 15.14 MB / 1.014 GB Notification: Performance of SimCode: time 6.92e-07/0.9065, allocations: 4 kB / 1.3 GB, free: 15.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.9354, allocations: 8.061 MB / 1.308 GB, free: 14.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/9.274, allocations: 9.156 kB / 1.308 GB, free: 14.13 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.267931248003151] Failed to read output from testmodel.py, exit status != 0: 9.411796114000026 9.425568011 8.548693759 Calling exit ...