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.001394/0.001394, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001511/0.001511, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.289/1.289, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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.826/2.826, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 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.001783/0.001783, allocations: 58.33 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2783, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003359/0.2817, allocations: 2.424 MB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.2837, allocations: 1.48 MB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.2838, allocations: 7.938 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.2843, allocations: 206.8 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.2844, allocations: 75.34 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.2847, allocations: 135.7 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.2851, allocations: 334.7 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2852, allocations: 33.14 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.2854, allocations: 143.5 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.2857, allocations: 191.3 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.2857, allocations: 32 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.2858, allocations: 75.97 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.286, allocations: 127.6 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.2861, allocations: 175 kB / 1.351 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.2866, allocations: 0.4942 MB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2866, allocations: 4 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2866, allocations: 0 / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2866, allocations: 0 / 1.351 GB, free: 10.49 MB / 1.045 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.001135/0.2878, allocations: 0.6444 MB / 1.352 GB, free: 9.816 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2878, allocations: 12.03 kB / 1.352 GB, free: 9.805 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.939e-06/0.2878, allocations: 4.188 kB / 1.352 GB, free: 9.801 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.2879, allocations: 54.69 kB / 1.352 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.2889, allocations: 176.5 kB / 1.352 GB, free: 9.566 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.2894, allocations: 316.6 kB / 1.352 GB, free: 9.234 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.2895, allocations: 191 kB / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.2896, allocations: 16.12 kB / 1.352 GB, free: 8.996 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.2903, allocations: 296.5 kB / 1.353 GB, free: 8.703 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2903, allocations: 0 / 1.353 GB, free: 8.703 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.2903, allocations: 8 kB / 1.353 GB, free: 8.695 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2903, allocations: 0 / 1.353 GB, free: 8.695 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.2914, allocations: 416.4 kB / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.2929, allocations: 0.8418 MB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.2936, allocations: 258.3 kB / 1.354 GB, free: 7.137 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.2941, allocations: 208.7 kB / 1.354 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.2941, allocations: 3.984 kB / 1.354 GB, free: 6.926 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2942, allocations: 38.55 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.133e-06/0.2942, allocations: 0 / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.001733/0.2959, allocations: 0.6551 MB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.296, allocations: 55.41 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.2964, allocations: 429.6 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.2965, allocations: 29.7 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.2966, allocations: 180 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.948e-05/0.2967, allocations: 63.44 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.2968, allocations: 37.7 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.297, allocations: 350.7 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.2976, allocations: 199.8 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.2981, allocations: 231.2 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009972/0.2991, allocations: 370 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2991, allocations: 0 / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001166/0.3003, allocations: 466.8 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3003, allocations: 4 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3003, allocations: 3.938 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3003, allocations: 3.938 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.3007, allocations: 63.92 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3008, allocations: 3.984 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.3011, allocations: 43.84 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.3011, allocations: 8 kB / 1.358 GB, free: 3.668 MB / 1.045 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.0002069/0.3013, allocations: 169.7 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.3014, allocations: 35.77 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.3014, allocations: 43.52 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3015, allocations: 7.938 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3015, allocations: 4 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3015, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.302, allocations: 453.9 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.302, allocations: 0 / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.3024, allocations: 55.94 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3024, allocations: 48 / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.3024, allocations: 19.97 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.3024, allocations: 3.938 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3024, allocations: 0 / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.3037, allocations: 0.5596 MB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.3037, allocations: 43.75 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.3038, allocations: 4 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.3041, allocations: 35.89 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.3042, allocations: 23.95 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.3042, allocations: 11.98 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003195/0.3046, allocations: 303.1 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3046, allocations: 4 kB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003171/0.3049, allocations: 63.95 kB / 1.359 GB, free: 1.789 MB / 1.045 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.001562/0.3064, allocations: 1.102 MB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.3076, allocations: 421.8 kB / 1.361 GB, free: 252 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3076, allocations: 0 / 1.361 GB, free: 252 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.3082, allocations: 219.8 kB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.3086, allocations: 53.34 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.3151, allocations: 4.157 MB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.3155, allocations: 0.7947 MB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.3157, allocations: 54.28 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.3159, allocations: 111.4 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.316, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.3441, allocations: 8.248 MB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.89, allocations: 10.81 kB / 1.374 GB, free: 2.703 MB / 1.061 GB " [Timeout remaining time 289] (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: 16.64956201298628] Failed to read output from testmodel.py, exit status != 0: 11.047555423981976 11.065423932 10.77547686 Calling exit ...