Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001654/0.001654, allocations: 116.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.001586/0.001586, allocations: 212 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.355/1.355, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.713/2.713, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_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.00198/0.00198, allocations: 67.89 kB / 1.165 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8041, allocations: 178.9 MB / 1.34 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003635/0.8078, allocations: 2.426 MB / 1.342 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.81, allocations: 1.471 MB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.8101, allocations: 7.281 kB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.8107, allocations: 204.8 kB / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.8108, allocations: 74.3 kB / 1.344 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.8112, allocations: 141.6 kB / 1.344 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.8116, allocations: 324 kB / 1.345 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.8117, allocations: 34.5 kB / 1.345 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.8119, allocations: 149.1 kB / 1.345 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.8122, allocations: 191.5 kB / 1.345 GB, free: 9.984 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.8122, allocations: 31.47 kB / 1.345 GB, free: 9.984 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.8124, allocations: 72.06 kB / 1.345 GB, free: 9.965 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.8125, allocations: 119.4 kB / 1.345 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.8127, allocations: 182.7 kB / 1.345 GB, free: 9.738 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.8132, allocations: 0.4924 MB / 1.346 GB, free: 9.371 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8132, allocations: 3.938 kB / 1.346 GB, free: 9.367 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8132, allocations: 0 / 1.346 GB, free: 9.367 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.8132, allocations: 4 kB / 1.346 GB, free: 9.363 MB / 1.029 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.001265/0.8145, allocations: 0.7251 MB / 1.347 GB, free: 8.742 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8145, allocations: 9.531 kB / 1.347 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.761e-05/0.8146, allocations: 6.656 kB / 1.347 GB, free: 8.738 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.872e-05/0.8146, allocations: 47.95 kB / 1.347 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.8157, allocations: 180 kB / 1.347 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.8162, allocations: 365 kB / 1.347 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.8163, allocations: 83.09 kB / 1.347 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.8164, allocations: 20.61 kB / 1.347 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/0.8171, allocations: 291.7 kB / 1.348 GB, free: 8.012 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8171, allocations: 0 / 1.348 GB, free: 8.012 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.8172, allocations: 9.109 kB / 1.348 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.8172, allocations: 3.5 kB / 1.348 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.8183, allocations: 421 kB / 1.348 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.8199, allocations: 0.8643 MB / 1.349 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.8206, allocations: 267.2 kB / 1.349 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.8212, allocations: 199.2 kB / 1.349 GB, free: 6.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.8212, allocations: 5.438 kB / 1.349 GB, free: 6.816 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.8212, allocations: 37.25 kB / 1.349 GB, free: 6.773 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.8213, allocations: 0 / 1.349 GB, free: 6.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001868/0.8231, allocations: 0.6572 MB / 1.35 GB, free: 6.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.8232, allocations: 57.75 kB / 1.35 GB, free: 6.344 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.8236, allocations: 428.6 kB / 1.35 GB, free: 6.086 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.8237, allocations: 30.86 kB / 1.35 GB, free: 6.051 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.8238, allocations: 173.8 kB / 1.351 GB, free: 5.895 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.8239, allocations: 69.47 kB / 1.351 GB, free: 5.832 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.824, allocations: 48.02 kB / 1.351 GB, free: 5.793 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8242, allocations: 348.8 kB / 1.351 GB, free: 5.453 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.8247, allocations: 191.8 kB / 1.351 GB, free: 5.355 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.8253, allocations: 235.9 kB / 1.351 GB, free: 5.211 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.8263, allocations: 368.8 kB / 1.352 GB, free: 5.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8263, allocations: 0 / 1.352 GB, free: 5.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001224/0.8275, allocations: 467.2 kB / 1.352 GB, free: 4.766 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8275, allocations: 8.703 kB / 1.352 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.8275, allocations: 5.438 kB / 1.352 GB, free: 4.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.8275, allocations: 3.938 kB / 1.352 GB, free: 4.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.828, allocations: 55.75 kB / 1.352 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.828, allocations: 0 / 1.352 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.8283, allocations: 47.42 kB / 1.352 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.8284, allocations: 4.25 kB / 1.352 GB, free: 4.711 MB / 1.029 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.0001907/0.8286, allocations: 176.9 kB / 1.353 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.8286, allocations: 36.33 kB / 1.353 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.8287, allocations: 39.97 kB / 1.353 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8287, allocations: 10.55 kB / 1.353 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8287, allocations: 0 / 1.353 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8287, allocations: 0 / 1.353 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.8293, allocations: 475.9 kB / 1.353 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8293, allocations: 5.016 kB / 1.353 GB, free: 4.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.8297, allocations: 62.34 kB / 1.353 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8297, allocations: 1.562 kB / 1.353 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.8297, allocations: 5.172 kB / 1.353 GB, free: 4.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.8297, allocations: 5.031 kB / 1.353 GB, free: 4.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8297, allocations: 3.938 kB / 1.353 GB, free: 4.043 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.831, allocations: 0.5554 MB / 1.354 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.8311, allocations: 120.7 kB / 1.354 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.8311, allocations: 2.125 kB / 1.354 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.8315, allocations: 36.27 kB / 1.354 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.721e-05/0.8316, allocations: 25.25 kB / 1.354 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.8316, allocations: 11.55 kB / 1.354 GB, free: 3.512 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003338/0.8319, allocations: 313.3 kB / 1.354 GB, free: 3.316 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.8319, allocations: 0 / 1.354 GB, free: 3.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003279/0.8322, allocations: 66.73 kB / 1.354 GB, free: 3.309 MB / 1.029 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.001573/0.8338, allocations: 1.092 MB / 1.355 GB, free: 2.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.835, allocations: 426.9 kB / 1.356 GB, free: 2.207 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.835, allocations: 0 / 1.356 GB, free: 2.207 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.8356, allocations: 219.2 kB / 1.356 GB, free: 2.098 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.836, allocations: 61.45 kB / 1.356 GB, free: 2.055 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/0.8427, allocations: 4.153 MB / 1.36 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.8431, allocations: 0.7991 MB / 1.361 GB, free: 14.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002908/0.8434, allocations: 62.27 kB / 1.361 GB, free: 14.48 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.8436, allocations: 107.4 kB / 1.361 GB, free: 14.38 MB / 1.045 GB Notification: Performance of SimCode: time 1.002e-06/0.8436, allocations: 0 / 1.361 GB, free: 14.38 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.8696, allocations: 8.06 MB / 1.369 GB, free: 6.535 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/9.033, allocations: 12.86 kB / 1.369 GB, free: 6.523 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 14.706585098989308] Failed to read output from testmodel.py, exit status != 0: 9.164210924995132 9.180652335 8.364243357 Calling exit ...