Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.001589/0.001589, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001985/0.001985, allocations: 212.5 kB / 23.03 MB, free: 4.922 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.654/2.654, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.002004/0.002004, allocations: 65.39 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2777, allocations: 170 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003598/0.2813, allocations: 2.01 MB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2826, allocations: 0.6156 MB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.2827, allocations: 4 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.2828, allocations: 23.67 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.567e-05/0.2829, allocations: 39.59 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.2833, allocations: 107.8 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.2835, allocations: 228 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.2838, allocations: 88.03 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.284, allocations: 99.59 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2841, allocations: 99.52 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.2841, allocations: 28 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.919e-05/0.2842, allocations: 32 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.2843, allocations: 51.84 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.2844, allocations: 91.45 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.2847, allocations: 288.2 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2847, allocations: 4 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2847, allocations: 3.938 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2847, allocations: 0 / 1.288 GB, free: 6.988 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007557/0.2855, allocations: 461.1 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2855, allocations: 8.031 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.017e-05/0.2856, allocations: 8.188 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.2856, allocations: 50.73 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.2859, allocations: 52.77 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.2863, allocations: 198.1 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2863, allocations: 12.38 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.2863, allocations: 16.38 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.2868, allocations: 305.8 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2868, allocations: 0 / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.2868, allocations: 12 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2868, allocations: 4 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.2871, allocations: 139.9 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.288, allocations: 0.5068 MB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.2884, allocations: 110.7 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.2885, allocations: 52.84 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2885, allocations: 0 / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.2886, allocations: 30.56 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.2886, allocations: 192 / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004476/0.289, allocations: 173.4 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.2891, allocations: 136.5 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.2893, allocations: 216.2 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.2893, allocations: 33.7 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2894, allocations: 152.3 kB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.2895, allocations: 35.73 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.2895, allocations: 37.64 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2897, allocations: 330.8 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.2898, allocations: 44.36 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.29, allocations: 165.4 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.2902, allocations: 87 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2902, allocations: 0 / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003157/0.2905, allocations: 157.5 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2905, allocations: 4 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2905, allocations: 4.047 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2905, allocations: 7.922 kB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2907, allocations: 19.92 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2907, allocations: 0 / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.2908, allocations: 31.88 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.2908, allocations: 12.02 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001273/0.2909, allocations: 136.2 kB / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.291, allocations: 15.91 kB / 1.291 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.035e-05/0.291, allocations: 25.33 kB / 1.291 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.291, allocations: 4 kB / 1.291 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2911, allocations: 0 / 1.291 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2911, allocations: 0 / 1.291 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.2913, allocations: 224.6 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2913, allocations: 0 / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.2914, allocations: 23.92 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2914, allocations: 0 / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2914, allocations: 3.938 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2915, allocations: 0 / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2915, allocations: 0 / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.2918, allocations: 231.3 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.2918, allocations: 11.91 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.2918, allocations: 11.94 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.292, allocations: 23.97 kB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.2921, allocations: 27.95 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.2921, allocations: 0 / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001401/0.2922, allocations: 155.5 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2922, allocations: 0 / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002706/0.2925, allocations: 43.84 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0007054/0.2932, allocations: 0.7748 MB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.2935, allocations: 111.8 kB / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2935, allocations: 0 / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2936, allocations: 47.92 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.2939, allocations: 20.66 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.2965, allocations: 2.019 MB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.2966, allocations: 117.2 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.344e-05/0.2967, allocations: 25.41 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2968, allocations: 63.41 kB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.2968, allocations: 0 / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.3211, allocations: 4.296 MB / 1.299 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.33, allocations: 8.812 kB / 1.299 GB, free: 10.76 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.578495956026018] Failed to read output from testmodel.py, exit status != 0: 11.978787195985205 11.507249421 11.21914244 Calling exit ...