Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001281/0.001281, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001352/0.001352, allocations: 216 kB / 23.04 MB, free: 5.066 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.317/1.317, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.892/2.892, allocations: 0.49 GB / 0.7959 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_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.001869/0.001869, allocations: 60.97 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2867, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003433/0.2902, allocations: 2.429 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.2922, allocations: 1.48 MB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/0.2923, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.2928, allocations: 214.8 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2929, allocations: 75.34 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.2932, allocations: 135.6 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000364/0.2936, allocations: 334.8 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2937, allocations: 37.14 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.2939, allocations: 139.5 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.2942, allocations: 195.3 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.2942, allocations: 32 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.2943, allocations: 71.97 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2945, allocations: 119.6 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.2946, allocations: 183 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.2951, allocations: 0.4903 MB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2951, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2951, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2951, allocations: 0 / 1.332 GB, free: 12.03 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.001157/0.2963, allocations: 0.6483 MB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2963, allocations: 8.031 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.367e-05/0.2963, allocations: 8.188 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.2964, allocations: 50.73 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.2975, allocations: 180.4 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.2979, allocations: 304.7 kB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.2981, allocations: 195 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.2981, allocations: 20.11 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.2988, allocations: 292.2 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2988, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2989, allocations: 8 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2989, allocations: 4 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3, allocations: 420.4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.3016, allocations: 0.8305 MB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.3022, allocations: 258.4 kB / 1.336 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.3028, allocations: 214.5 kB / 1.336 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3028, allocations: 0 / 1.336 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3028, allocations: 38.5 kB / 1.336 GB, free: 8.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 9.42e-07/0.3028, allocations: 0 / 1.336 GB, free: 8.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001777/0.3046, allocations: 0.6496 MB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3046, allocations: 55.41 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.3051, allocations: 429.6 kB / 1.337 GB, free: 7.277 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.3051, allocations: 33.7 kB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.3053, allocations: 180 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.3053, allocations: 59.48 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.3054, allocations: 45.62 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3056, allocations: 350.8 kB / 1.338 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.3061, allocations: 199.8 kB / 1.338 GB, free: 6.402 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.3067, allocations: 225.2 kB / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.3077, allocations: 370.1 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3077, allocations: 0 / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001178/0.3089, allocations: 469.1 kB / 1.339 GB, free: 5.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3089, allocations: 8 kB / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3089, allocations: 0 / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3089, allocations: 3.938 kB / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.3093, allocations: 63.86 kB / 1.339 GB, free: 5.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3093, allocations: 0 / 1.339 GB, free: 5.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.3097, allocations: 51.84 kB / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.3097, allocations: 8.031 kB / 1.339 GB, free: 5.211 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.0001812/0.3099, allocations: 165.8 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.3099, allocations: 39.75 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.31, allocations: 39.53 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.31, allocations: 7.875 kB / 1.339 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.31, allocations: 4 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.31, allocations: 4 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/0.3106, allocations: 445.9 kB / 1.34 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3106, allocations: 0 / 1.34 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.311, allocations: 63.92 kB / 1.34 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.311, allocations: 0 / 1.34 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.311, allocations: 0 / 1.34 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.311, allocations: 11.92 kB / 1.34 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.311, allocations: 3.938 kB / 1.34 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.3122, allocations: 0.5589 MB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.3123, allocations: 39.77 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.3124, allocations: 8 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.3127, allocations: 39.88 kB / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.3128, allocations: 23.97 kB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.3128, allocations: 7.984 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003306/0.3132, allocations: 311.1 kB / 1.341 GB, free: 3.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3132, allocations: 3.938 kB / 1.341 GB, free: 3.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003153/0.3135, allocations: 64 kB / 1.341 GB, free: 3.332 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.001535/0.315, allocations: 1.104 MB / 1.342 GB, free: 2.199 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.3162, allocations: 421.7 kB / 1.342 GB, free: 1.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3162, allocations: 0 / 1.342 GB, free: 1.789 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.3167, allocations: 227.8 kB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3171, allocations: 49.42 kB / 1.342 GB, free: 1.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.3237, allocations: 4.149 MB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.3241, allocations: 0.7985 MB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.3244, allocations: 62.25 kB / 1.347 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.3246, allocations: 107.4 kB / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/0.3246, allocations: 0 / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.3538, allocations: 8.245 MB / 1.355 GB, free: 4.258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.94, allocations: 17.31 kB / 1.355 GB, free: 4.246 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.87446458800696] Failed to read output from testmodel.py, exit status != 0: 11.109038351976778 11.124069966 10.82604677 Calling exit ...