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: 102.3 kB / 19.7 MB, free: 2.254 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.001766/0.001766, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.074 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.002535/0.002535, allocations: 285.3 kB / 313.5 MB, free: 2.844 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.24/1.24, allocations: 180.6 MB / 0.5377 GB, free: 13.08 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.002849/0.002849, allocations: 105.9 kB / 0.7408 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1982, allocations: 95.38 MB / 0.834 GB, free: 8.168 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00358/0.2018, allocations: 2.093 MB / 0.836 GB, free: 6.062 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.203, allocations: 0.6546 MB / 0.8367 GB, free: 5.402 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.2031, allocations: 4 kB / 0.8367 GB, free: 5.398 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.2033, allocations: 27.66 kB / 0.8367 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.2033, allocations: 39.61 kB / 0.8367 GB, free: 5.332 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.2037, allocations: 99.81 kB / 0.8368 GB, free: 5.234 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.204, allocations: 232 kB / 0.837 GB, free: 5.004 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.2042, allocations: 76.06 kB / 0.8371 GB, free: 4.922 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.2044, allocations: 111.6 kB / 0.8372 GB, free: 4.812 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2045, allocations: 99.53 kB / 0.8373 GB, free: 4.715 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.2046, allocations: 24 kB / 0.8373 GB, free: 4.691 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.2047, allocations: 39.98 kB / 0.8374 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.2047, allocations: 59.78 kB / 0.8374 GB, free: 4.594 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2048, allocations: 111.3 kB / 0.8375 GB, free: 4.484 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.2052, allocations: 286.8 kB / 0.8378 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2052, allocations: 0 / 0.8378 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2052, allocations: 4 kB / 0.8378 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2052, allocations: 0 / 0.8378 GB, free: 4.199 MB / 0.5763 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.0008186/0.206, allocations: 468.9 kB / 0.8383 GB, free: 3.711 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2061, allocations: 9.938 kB / 0.8383 GB, free: 3.703 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.2064, allocations: 40.78 kB / 0.8383 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.2068, allocations: 202.7 kB / 0.8385 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.2068, allocations: 12.38 kB / 0.8385 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.2068, allocations: 20.38 kB / 0.8385 GB, free: 3.41 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.2073, allocations: 233 kB / 0.8388 GB, free: 3.164 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2073, allocations: 0 / 0.8388 GB, free: 3.164 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.2073, allocations: 4 kB / 0.8388 GB, free: 3.16 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.2073, allocations: 4 kB / 0.8388 GB, free: 3.156 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.2076, allocations: 143.9 kB / 0.8389 GB, free: 3.016 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.2086, allocations: 0.5576 MB / 0.8394 GB, free: 2.414 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.2089, allocations: 114.7 kB / 0.8396 GB, free: 2.293 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2091, allocations: 52.84 kB / 0.8396 GB, free: 2.238 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2091, allocations: 0 / 0.8396 GB, free: 2.238 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2091, allocations: 34.69 kB / 0.8396 GB, free: 2.195 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.2091, allocations: 0 / 0.8396 GB, free: 2.195 MB / 0.5763 GB Notification: Performance of matching and sorting (n=10): time 0.0004659/0.2096, allocations: 169.5 kB / 0.8398 GB, free: 2.023 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/0.2097, allocations: 136.5 kB / 0.8399 GB, free: 1.859 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.2099, allocations: 219.1 kB / 0.8401 GB, free: 1.633 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.2099, allocations: 29.7 kB / 0.8402 GB, free: 1.598 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.21, allocations: 148.3 kB / 0.8403 GB, free: 1.449 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.2101, allocations: 35.73 kB / 0.8403 GB, free: 1.414 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.2101, allocations: 33.7 kB / 0.8404 GB, free: 1.375 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2103, allocations: 331.2 kB / 0.8407 GB, free: 1.043 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.2104, allocations: 43.98 kB / 0.8407 GB, free: 1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2106, allocations: 86.52 kB / 0.8408 GB, free: 0.9023 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.2108, allocations: 85.62 kB / 0.8409 GB, free: 0.8125 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2108, allocations: 7.938 kB / 0.8409 GB, free: 0.8047 MB / 0.5763 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002992/0.2111, allocations: 152 kB / 0.841 GB, free: 0.6523 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2111, allocations: 8 kB / 0.8411 GB, free: 0.6445 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2111, allocations: 3.984 kB / 0.8411 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2111, allocations: 0 / 0.8411 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2112, allocations: 27.86 kB / 0.8411 GB, free: 0.6133 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2112, allocations: 4 kB / 0.8411 GB, free: 0.6094 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2114, allocations: 23.88 kB / 0.8411 GB, free: 0.5859 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2114, allocations: 4 kB / 0.8411 GB, free: 0.582 MB / 0.5763 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.0001406/0.2115, allocations: 141.9 kB / 0.8413 GB, free: 444 kB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.2116, allocations: 15.91 kB / 0.8413 GB, free: 428 kB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.2116, allocations: 17.41 kB / 0.8413 GB, free: 412 kB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2116, allocations: 7.938 kB / 0.8413 GB, free: 404 kB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2116, allocations: 0 / 0.8413 GB, free: 404 kB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2116, allocations: 3.984 kB / 0.8413 GB, free: 400 kB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.2119, allocations: 252.5 kB / 0.8415 GB, free: 104 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2119, allocations: 0 / 0.8415 GB, free: 104 kB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.212, allocations: 23.98 kB / 0.8416 GB, free: 80 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.212, allocations: 0 / 0.8416 GB, free: 80 kB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.212, allocations: 0 / 0.8416 GB, free: 80 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.212, allocations: 7.875 kB / 0.8416 GB, free: 72 kB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.212, allocations: 4 kB / 0.8416 GB, free: 68 kB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.2124, allocations: 227.3 kB / 0.8418 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.2124, allocations: 11.91 kB / 0.8418 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.2124, allocations: 12 kB / 0.8418 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.2126, allocations: 19.91 kB / 0.8418 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.2127, allocations: 27.95 kB / 0.8419 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.2127, allocations: 0 / 0.8419 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001449/0.2128, allocations: 156.6 kB / 0.842 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2128, allocations: 0 / 0.842 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000271/0.2131, allocations: 39.89 kB / 0.842 GB, free: 15.57 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.0001463/0.2132, allocations: 119.2 kB / 0.8422 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.2135, allocations: 103.9 kB / 0.8423 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2135, allocations: 3.938 kB / 0.8423 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.2137, allocations: 47.97 kB / 0.8423 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.214, allocations: 18.08 kB / 0.8423 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.2146, allocations: 374.8 kB / 0.8427 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.215, allocations: 0.7281 MB / 0.8434 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.2151, allocations: 19.42 kB / 0.8434 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.2151, allocations: 4 kB / 0.8434 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.005189/0.2203, allocations: 2.353 MB / 0.8457 GB, free: 11.75 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.724012311780825] Failed to read output from testmodel.py, exit status != 0: 0.2283432399854064 0.24488481599999995 0.036453915 Calling exit ...