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.001378/0.001378, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001582/0.001582, allocations: 212.6 kB / 22.99 MB, free: 4.941 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.448/1.448, 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/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.002777/0.002777, allocations: 297.3 kB / 313.5 MB, free: 2.613 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.245/1.245, allocations: 180.6 MB / 0.5377 GB, free: 14.38 MB / 382.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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [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.002998/0.002998, allocations: 97.67 kB / 0.7407 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1953, allocations: 95.39 MB / 0.8339 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003842/0.1992, allocations: 2.001 MB / 0.8358 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2004, allocations: 0.6273 MB / 0.8364 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2006, allocations: 7.938 kB / 0.8365 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2007, allocations: 19.73 kB / 0.8365 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.2008, allocations: 39.61 kB / 0.8365 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.2012, allocations: 95.77 kB / 0.8366 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.2015, allocations: 240 kB / 0.8368 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.2017, allocations: 76.05 kB / 0.8369 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.2019, allocations: 95.64 kB / 0.837 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.202, allocations: 99.39 kB / 0.8371 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.2021, allocations: 24 kB / 0.8371 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.819e-05/0.2022, allocations: 35.94 kB / 0.8371 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.2022, allocations: 51.84 kB / 0.8372 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.2023, allocations: 83.59 kB / 0.8373 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.2027, allocations: 290.8 kB / 0.8375 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2027, allocations: 3.984 kB / 0.8376 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2027, allocations: 0 / 0.8376 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.2027, allocations: 0 / 0.8376 GB, free: 3.984 MB / 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.0008089/0.2035, allocations: 465 kB / 0.838 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2036, allocations: 9.938 kB / 0.838 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.2039, allocations: 48.77 kB / 0.8381 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.2043, allocations: 202.7 kB / 0.8382 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.2043, allocations: 16.31 kB / 0.8383 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.2043, allocations: 20.38 kB / 0.8383 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.2048, allocations: 306.1 kB / 0.8386 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2048, allocations: 0 / 0.8386 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.2048, allocations: 4 kB / 0.8386 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2049, allocations: 4 kB / 0.8386 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.2052, allocations: 143.9 kB / 0.8387 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008899/0.2061, allocations: 483.7 kB / 0.8392 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.2065, allocations: 106.8 kB / 0.8393 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2066, allocations: 49.02 kB / 0.8393 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2066, allocations: 7.938 kB / 0.8393 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.2066, allocations: 38.56 kB / 0.8394 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.2066, allocations: 0 / 0.8394 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004611/0.2071, allocations: 157.5 kB / 0.8395 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.2072, allocations: 136.5 kB / 0.8397 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.2074, allocations: 195.1 kB / 0.8398 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.2074, allocations: 34.08 kB / 0.8399 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2075, allocations: 148.3 kB / 0.84 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.2076, allocations: 39.73 kB / 0.8401 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.2076, allocations: 33.7 kB / 0.8401 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2078, allocations: 334.8 kB / 0.8404 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.2079, allocations: 43.98 kB / 0.8404 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.2081, allocations: 161.4 kB / 0.8406 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.2083, allocations: 88 kB / 0.8407 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2083, allocations: 0 / 0.8407 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003094/0.2086, allocations: 157.5 kB / 0.8408 GB, free: 380 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2087, allocations: 7.984 kB / 0.8408 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2087, allocations: 0 / 0.8408 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.2087, allocations: 4 kB / 0.8408 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.2088, allocations: 15.98 kB / 0.8409 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2088, allocations: 3.938 kB / 0.8409 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.2089, allocations: 23.92 kB / 0.8409 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2089, allocations: 4 kB / 0.8409 GB, free: 320 kB / 0.5762 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.0001484/0.2091, allocations: 141.8 kB / 0.841 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.2091, allocations: 15.91 kB / 0.841 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.2092, allocations: 21.41 kB / 0.8411 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2092, allocations: 7.938 kB / 0.8411 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2092, allocations: 3.938 kB / 0.8411 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.2092, allocations: 3.984 kB / 0.8411 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.2095, allocations: 185.2 kB / 0.8413 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2095, allocations: 0 / 0.8413 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.806e-05/0.2096, allocations: 19.98 kB / 0.8413 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2096, allocations: 0 / 0.8413 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2096, allocations: 11.98 kB / 0.8413 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2096, allocations: 0 / 0.8413 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2096, allocations: 0 / 0.8413 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.2099, allocations: 223.3 kB / 0.8415 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.21, allocations: 15.89 kB / 0.8415 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.21, allocations: 8 kB / 0.8415 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2101, allocations: 15.98 kB / 0.8415 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.2102, allocations: 35.94 kB / 0.8416 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.2102, allocations: 3.938 kB / 0.8416 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001195/0.2103, allocations: 135.2 kB / 0.8417 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2103, allocations: 0 / 0.8417 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002697/0.2106, allocations: 43.92 kB / 0.8417 GB, free: 15.38 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.0001437/0.2108, allocations: 115.1 kB / 0.8419 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.2111, allocations: 108 kB / 0.842 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2111, allocations: 0 / 0.842 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.2112, allocations: 47.97 kB / 0.842 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2115, allocations: 22 kB / 0.842 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006983/0.2122, allocations: 360.7 kB / 0.8424 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.2123, allocations: 129 kB / 0.8425 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.2124, allocations: 19.44 kB / 0.8425 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.2124, allocations: 0 / 0.8425 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of Templates: time 0.004704/0.2171, allocations: 2.34 MB / 0.8448 GB, free: 12.21 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.657880517654121] Failed to read output from testmodel.py, exit status != 0: 0.2249995251186192 0.24128979600000003 0.035327978 Calling exit ...