Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001569/0.001569, allocations: 116.8 kB / 17.17 MB, free: 5.906 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.001732/0.001732, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.392/1.392, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00232/0.00232, allocations: 285.8 kB / 309.8 MB, free: 3.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.012/1.012, allocations: 180.6 MB / 0.5338 GB, free: 12.35 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002705/0.002705, allocations: 107.8 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4865, allocations: 95.33 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002691/0.4892, allocations: 2.076 MB / 0.8298 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00086/0.4901, allocations: 0.6551 MB / 0.8305 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.4902, allocations: 9.438 kB / 0.8305 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.4903, allocations: 20.81 kB / 0.8305 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.4903, allocations: 38.78 kB / 0.8305 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.4906, allocations: 95.41 kB / 0.8306 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.4908, allocations: 230.9 kB / 0.8308 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.491, allocations: 86.5 kB / 0.8309 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.4911, allocations: 111.2 kB / 0.831 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.4913, allocations: 98.88 kB / 0.8311 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.4913, allocations: 25.22 kB / 0.8311 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-05/0.4914, allocations: 37.39 kB / 0.8312 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.4914, allocations: 55.41 kB / 0.8312 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.4915, allocations: 112.1 kB / 0.8313 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.4918, allocations: 283 kB / 0.8316 GB, free: 496 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4918, allocations: 0 / 0.8316 GB, free: 496 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4918, allocations: 0 / 0.8316 GB, free: 496 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.4918, allocations: 0.6094 kB / 0.8316 GB, free: 496 kB / 0.5762 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.0006293/0.4924, allocations: 0.5276 MB / 0.8321 GB, free: 20 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4925, allocations: 9.891 kB / 0.8321 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.421e-05/0.4925, allocations: 8 kB / 0.8321 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.894e-05/0.4925, allocations: 54.52 kB / 0.8322 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.4928, allocations: 44.45 kB / 0.8322 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.4932, allocations: 265.6 kB / 0.8325 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.4932, allocations: 17.48 kB / 0.8325 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.4932, allocations: 14.88 kB / 0.8325 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.4936, allocations: 225.9 kB / 0.8327 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4936, allocations: 0.7969 kB / 0.8327 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.4937, allocations: 18.61 kB / 0.8327 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4937, allocations: 4.156 kB / 0.8327 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.4939, allocations: 136.4 kB / 0.8329 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009533/0.4949, allocations: 0.5951 MB / 0.8335 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.4952, allocations: 109.5 kB / 0.8336 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4954, allocations: 47.33 kB / 0.8336 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.4954, allocations: 6.562 kB / 0.8336 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4954, allocations: 39.27 kB / 0.8337 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.4954, allocations: 0 / 0.8337 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0004369/0.4958, allocations: 167.2 kB / 0.8338 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.4959, allocations: 131.9 kB / 0.8339 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.4961, allocations: 216.9 kB / 0.8341 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.4962, allocations: 32.33 kB / 0.8342 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.4963, allocations: 147.2 kB / 0.8343 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.4963, allocations: 36.16 kB / 0.8344 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.4964, allocations: 38.88 kB / 0.8344 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4965, allocations: 327.6 kB / 0.8347 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4966, allocations: 42.72 kB / 0.8347 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4968, allocations: 84.56 kB / 0.8348 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.497, allocations: 90.77 kB / 0.8349 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.497, allocations: 4.516 kB / 0.8349 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003089/0.4973, allocations: 160.1 kB / 0.8351 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4973, allocations: 5.031 kB / 0.8351 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4973, allocations: 0.6094 kB / 0.8351 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4973, allocations: 9.594 kB / 0.8351 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.4974, allocations: 17.64 kB / 0.8351 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4974, allocations: 0.9844 kB / 0.8351 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.4976, allocations: 33.95 kB / 0.8351 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4976, allocations: 5.641 kB / 0.8351 GB, free: 13.82 MB / 0.5919 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.0001278/0.4977, allocations: 138 kB / 0.8353 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.4977, allocations: 16.69 kB / 0.8353 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.4978, allocations: 35.42 kB / 0.8353 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4978, allocations: 0 / 0.8353 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4978, allocations: 0 / 0.8353 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4978, allocations: 0 / 0.8353 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.4981, allocations: 273.7 kB / 0.8356 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4981, allocations: 0.6094 kB / 0.8356 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.4982, allocations: 14.92 kB / 0.8356 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4982, allocations: 0 / 0.8356 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4982, allocations: 10.22 kB / 0.8356 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4982, allocations: 2.609 kB / 0.8356 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4982, allocations: 7.938 kB / 0.8356 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.4985, allocations: 223.3 kB / 0.8358 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.4986, allocations: 92.91 kB / 0.8359 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.4986, allocations: 13.77 kB / 0.8359 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.4988, allocations: 17 kB / 0.8359 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.4989, allocations: 29.77 kB / 0.836 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4989, allocations: 3.656 kB / 0.836 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001373/0.499, allocations: 149.6 kB / 0.8361 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.499, allocations: 0 / 0.8361 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002516/0.4993, allocations: 41.73 kB / 0.8362 GB, free: 13.02 MB / 0.5919 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.0006506/0.4999, allocations: 0.7809 MB / 0.8369 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.5002, allocations: 104.4 kB / 0.837 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5002, allocations: 0 / 0.837 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.5003, allocations: 47.38 kB / 0.8371 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.5006, allocations: 20.98 kB / 0.8371 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.5029, allocations: 2.013 MB / 0.8391 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.5033, allocations: 0.7301 MB / 0.8398 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.106e-05/0.5034, allocations: 20.11 kB / 0.8398 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5035, allocations: 65.86 kB / 0.8398 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5035, allocations: 4 kB / 0.8399 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.524, allocations: 4.055 MB / 0.8438 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.474, allocations: 20.5 kB / 0.8438 GB, free: 9.461 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.195685381011572] Failed to read output from testmodel.py, exit status != 0: 8.60886900301557 8.630209044 8.135450763 Calling exit ...