Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001292/0.001292, allocations: 116.8 kB / 17.17 MB, free: 6 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: 214.3 kB / 20.13 MB, free: 3.055 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.465/1.465, 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/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.858/2.858, allocations: 0.5003 GB / 0.8026 GB, free: 6.773 MB / 0.6387 GB " [Timeout remaining time 176] 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.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_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.002185/0.002185, allocations: 63.91 kB / 1.165 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8924/0.8946, allocations: 179 MB / 1.34 GB, free: 16.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003297/0.8979, allocations: 2.073 MB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.8991, allocations: 0.6586 MB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.8992, allocations: 1.312 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.8994, allocations: 25.73 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.8994, allocations: 33.91 kB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.8998, allocations: 102.9 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.9, allocations: 237.9 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.9003, allocations: 83.84 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.9005, allocations: 97.3 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.9006, allocations: 104.8 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.9006, allocations: 23.91 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.9007, allocations: 43.56 kB / 1.344 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.9008, allocations: 53.39 kB / 1.344 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.874e-05/0.9009, allocations: 106.4 kB / 1.344 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.9013, allocations: 293 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9013, allocations: 0 / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9013, allocations: 0.6094 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.9013, allocations: 3.938 kB / 1.344 GB, free: 13.88 MB / 1.061 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.0007678/0.9021, allocations: 0.52 MB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.9021, allocations: 14.25 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.448e-05/0.9021, allocations: 7.812 kB / 1.345 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.9022, allocations: 53.8 kB / 1.345 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.9025, allocations: 48.22 kB / 1.345 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.9029, allocations: 263.5 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.9029, allocations: 12.03 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.9029, allocations: 19.5 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.9033, allocations: 230.7 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.9033, allocations: 0 / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.9034, allocations: 6.594 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.9034, allocations: 3.844 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.9037, allocations: 139.9 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009191/0.9046, allocations: 0.5842 MB / 1.346 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.9049, allocations: 118 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.905, allocations: 46.88 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.9051, allocations: 1.375 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.9051, allocations: 32.55 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.9051, allocations: 0 / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004322/0.9055, allocations: 175 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.9056, allocations: 134.4 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.9057, allocations: 214.6 kB / 1.347 GB, free: 11.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.9058, allocations: 29.25 kB / 1.347 GB, free: 11.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.9058, allocations: 151 kB / 1.347 GB, free: 11.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.9059, allocations: 39.09 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.9059, allocations: 34.22 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.906, allocations: 329.1 kB / 1.347 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.9061, allocations: 54.5 kB / 1.347 GB, free: 11.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.9062, allocations: 86.75 kB / 1.347 GB, free: 11.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.9064, allocations: 83.72 kB / 1.347 GB, free: 11.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9064, allocations: 0 / 1.347 GB, free: 11.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002831/0.9067, allocations: 152.6 kB / 1.347 GB, free: 11.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9067, allocations: 6.109 kB / 1.347 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.9067, allocations: 1.438 kB / 1.347 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9067, allocations: 3.938 kB / 1.347 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.9068, allocations: 25.23 kB / 1.347 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.9068, allocations: 5.469 kB / 1.347 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.907, allocations: 31.19 kB / 1.347 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.907, allocations: 3.953 kB / 1.347 GB, free: 11.23 MB / 1.061 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 9.472e-05/0.9071, allocations: 138.9 kB / 1.348 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.9071, allocations: 26.16 kB / 1.348 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.9072, allocations: 24.27 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.9072, allocations: 1.219 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9072, allocations: 0 / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9072, allocations: 1.609 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.9074, allocations: 273.4 kB / 1.348 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9074, allocations: 1.219 kB / 1.348 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.9075, allocations: 21.8 kB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9075, allocations: 1 kB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.9075, allocations: 6.875 kB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9075, allocations: 0 / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9075, allocations: 1.781 kB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.9078, allocations: 224.7 kB / 1.348 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.9079, allocations: 103 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.9079, allocations: 11.42 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.9081, allocations: 18.52 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.9082, allocations: 23.58 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.9082, allocations: 3.375 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001114/0.9083, allocations: 155.4 kB / 1.348 GB, free: 10.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9083, allocations: 1.375 kB / 1.348 GB, free: 10.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002677/0.9085, allocations: 38.55 kB / 1.349 GB, free: 10.41 MB / 1.061 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.0004733/0.909, allocations: 0.7688 MB / 1.349 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003111/0.9093, allocations: 110.7 kB / 1.349 GB, free: 9.672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9093, allocations: 5.188 kB / 1.349 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.9095, allocations: 50.38 kB / 1.349 GB, free: 9.652 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.9098, allocations: 22.67 kB / 1.349 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.9119, allocations: 2.009 MB / 1.351 GB, free: 8.129 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.912, allocations: 0.7288 MB / 1.352 GB, free: 7.434 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.154e-05/0.9121, allocations: 20.45 kB / 1.352 GB, free: 7.426 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.9122, allocations: 70.67 kB / 1.352 GB, free: 7.379 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9122, allocations: 0 / 1.352 GB, free: 7.379 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.9332, allocations: 4.045 MB / 1.356 GB, free: 6.883 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/9.122, allocations: 23.28 kB / 1.356 GB, free: 6.867 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.197049548034556] Failed to read output from testmodel.py, exit status != 0: 9.246994949993677 9.25900061 8.35521576 Calling exit ...