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.001507/0.001507, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001708/0.001708, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.64/2.64, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 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.001981/0.001981, allocations: 64.42 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2837, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003955/0.2876, allocations: 2.287 MB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.29, allocations: 1.343 MB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.2901, allocations: 4 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.2908, allocations: 183 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.2909, allocations: 71.3 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.2913, allocations: 139.7 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.2917, allocations: 338.7 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2918, allocations: 28.92 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.2921, allocations: 139.5 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.2924, allocations: 199.2 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.2924, allocations: 32 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.2926, allocations: 67.97 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.2927, allocations: 119.6 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.2928, allocations: 135.3 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.2934, allocations: 0.5073 MB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2934, allocations: 0 / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2934, allocations: 3.938 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.2934, allocations: 0 / 1.29 GB, free: 5.145 MB / 0.9825 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.001307/0.2947, allocations: 0.6444 MB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2948, allocations: 8.031 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.747e-05/0.2948, allocations: 12.12 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/0.2948, allocations: 46.73 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.296, allocations: 184.4 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.2965, allocations: 304.7 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.2967, allocations: 198.9 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.2967, allocations: 20.12 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.2975, allocations: 299.3 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.2975, allocations: 0 / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.2975, allocations: 4 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2975, allocations: 4 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.2986, allocations: 412.4 kB / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3003, allocations: 0.7605 MB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.301, allocations: 258.4 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.3015, allocations: 204.7 kB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.3015, allocations: 7.984 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.3015, allocations: 34.56 kB / 1.293 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.274e-06/0.3015, allocations: 3.938 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001786/0.3033, allocations: 0.6556 MB / 1.293 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3034, allocations: 55.41 kB / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.3039, allocations: 425.6 kB / 1.294 GB, free: 472 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.3039, allocations: 29.7 kB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.3041, allocations: 184 kB / 1.294 GB, free: 248 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.3042, allocations: 59.48 kB / 1.294 GB, free: 188 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.3043, allocations: 37.7 kB / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3045, allocations: 346.8 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.305, allocations: 199.8 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.3056, allocations: 304.4 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009594/0.3066, allocations: 378.6 kB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3066, allocations: 0 / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001178/0.3078, allocations: 469.1 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3078, allocations: 4 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3078, allocations: 0 / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3078, allocations: 3.938 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.3083, allocations: 63.86 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3083, allocations: 0 / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.3086, allocations: 43.84 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.3087, allocations: 7.984 kB / 1.296 GB, free: 14.31 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.0002106/0.3089, allocations: 165.8 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.309, allocations: 43.66 kB / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/0.309, allocations: 43.56 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.309, allocations: 11.92 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.309, allocations: 0 / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3091, allocations: 0 / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.3096, allocations: 382 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3096, allocations: 4 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.31, allocations: 63.86 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.31, allocations: 4 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.31, allocations: 4 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.31, allocations: 3.938 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.31, allocations: 0 / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.3113, allocations: 0.5558 MB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.3113, allocations: 39.77 kB / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.3114, allocations: 0 / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.3117, allocations: 47.81 kB / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3118, allocations: 23.97 kB / 1.297 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.3119, allocations: 11.98 kB / 1.297 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003545/0.3122, allocations: 307.1 kB / 1.298 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3122, allocations: 0 / 1.298 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003382/0.3126, allocations: 68 kB / 1.298 GB, free: 12.49 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.001556/0.3141, allocations: 1.093 MB / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.3153, allocations: 419.7 kB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3153, allocations: 0 / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/0.3159, allocations: 223.8 kB / 1.299 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.3163, allocations: 57.28 kB / 1.299 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006762/0.3231, allocations: 4.154 MB / 1.303 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3233, allocations: 187.5 kB / 1.304 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000291/0.3236, allocations: 66.25 kB / 1.304 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.3238, allocations: 103.4 kB / 1.304 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/0.3238, allocations: 4 kB / 1.304 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.3535, allocations: 8.558 MB / 1.312 GB, free: 13.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.9, allocations: 16.28 kB / 1.312 GB, free: 13.76 MB / 1.014 GB " [Timeout remaining time 288] (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: 18.090978719992563] Failed to read output from testmodel.py, exit status != 0: 12.503387270960957 12.074479208 11.777924387 Calling exit ...