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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 110 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 289.4 kB / 303 MB, free: 9.469 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.14/1.14, allocations: 180.9 MB / 0.5261 GB, free: 14.69 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 96.84 kB / 0.7248 GB, free: 40.03 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1525, allocations: 94.16 MB / 0.8167 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003117/0.1557, allocations: 2.027 MB / 0.8187 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.1566, allocations: 0.5882 MB / 0.8193 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.1567, allocations: 0 / 0.8193 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.1568, allocations: 23.73 kB / 0.8193 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.1569, allocations: 39.59 kB / 0.8193 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1572, allocations: 79.86 kB / 0.8194 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1574, allocations: 224 kB / 0.8196 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1576, allocations: 95.62 kB / 0.8197 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1577, allocations: 95.56 kB / 0.8198 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1579, allocations: 91.55 kB / 0.8199 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.1579, allocations: 24 kB / 0.8199 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.158, allocations: 39.92 kB / 0.82 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.158, allocations: 59.77 kB / 0.82 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.1581, allocations: 103.5 kB / 0.8201 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.1585, allocations: 283 kB / 0.8204 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1585, allocations: 0 / 0.8204 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1585, allocations: 0 / 0.8204 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.1585, allocations: 0 / 0.8204 GB, free: 1.586 MB / 0.5606 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.0007529/0.1592, allocations: 0.5257 MB / 0.8209 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1593, allocations: 8.031 kB / 0.8209 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.387e-05/0.1593, allocations: 58.73 kB / 0.821 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.1594, allocations: 24.8 kB / 0.821 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1597, allocations: 256.8 kB / 0.8212 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1597, allocations: 16.38 kB / 0.8212 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.1598, allocations: 20.38 kB / 0.8213 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.1602, allocations: 224.9 kB / 0.8215 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1602, allocations: 0 / 0.8215 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1602, allocations: 4 kB / 0.8215 GB, free: 352 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1602, allocations: 4 kB / 0.8215 GB, free: 348 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.1605, allocations: 143.9 kB / 0.8216 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.1614, allocations: 0.5936 MB / 0.8222 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.1617, allocations: 114.8 kB / 0.8223 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1618, allocations: 45.02 kB / 0.8224 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.1619, allocations: 15.92 kB / 0.8224 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1619, allocations: 30.56 kB / 0.8224 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1619, allocations: 0 / 0.8224 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004295/0.1623, allocations: 181.3 kB / 0.8226 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.1624, allocations: 132.9 kB / 0.8227 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.1626, allocations: 219.1 kB / 0.8229 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1626, allocations: 25.7 kB / 0.8229 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1627, allocations: 144.3 kB / 0.8231 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1628, allocations: 35.67 kB / 0.8231 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.1628, allocations: 33.7 kB / 0.8231 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.163, allocations: 330.8 kB / 0.8235 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1631, allocations: 47.97 kB / 0.8235 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1632, allocations: 86.14 kB / 0.8236 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1634, allocations: 97.62 kB / 0.8237 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1634, allocations: 0 / 0.8237 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002914/0.1637, allocations: 160.8 kB / 0.8238 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1637, allocations: 4 kB / 0.8238 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1637, allocations: 4 kB / 0.8238 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1637, allocations: 3.938 kB / 0.8238 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1638, allocations: 15.98 kB / 0.8239 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1638, allocations: 3.984 kB / 0.8239 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.164, allocations: 27.97 kB / 0.8239 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.164, allocations: 8 kB / 0.8239 GB, free: 13.71 MB / 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.0001252/0.1641, allocations: 143.9 kB / 0.824 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.1642, allocations: 15.91 kB / 0.824 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.1645, allocations: 139 kB / 0.8242 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1645, allocations: 11.88 kB / 0.8242 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1645, allocations: 0 / 0.8242 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1645, allocations: 4 kB / 0.8242 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.1648, allocations: 265.5 kB / 0.8244 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1648, allocations: 7.984 kB / 0.8245 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-05/0.1649, allocations: 12 kB / 0.8245 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1649, allocations: 0 / 0.8245 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.1649, allocations: 7.984 kB / 0.8245 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1649, allocations: 3.938 kB / 0.8245 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1649, allocations: 0 / 0.8245 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.1653, allocations: 239.3 kB / 0.8247 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.1653, allocations: 93.11 kB / 0.8248 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1654, allocations: 7.938 kB / 0.8248 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1655, allocations: 27.91 kB / 0.8248 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.1656, allocations: 19.97 kB / 0.8248 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.1656, allocations: 8 kB / 0.8249 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001383/0.1657, allocations: 156.4 kB / 0.825 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1657, allocations: 0 / 0.825 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002551/0.166, allocations: 39.89 kB / 0.825 GB, free: 12.44 MB / 0.5762 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.0006548/0.1666, allocations: 0.7709 MB / 0.8258 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002925/0.1669, allocations: 103.9 kB / 0.8259 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1669, allocations: 0 / 0.8259 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.167, allocations: 51.91 kB / 0.8259 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1674, allocations: 21.56 kB / 0.826 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.1697, allocations: 1.994 MB / 0.8279 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1701, allocations: 0.736 MB / 0.8286 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.616e-05/0.1701, allocations: 17.45 kB / 0.8286 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1702, allocations: 71.39 kB / 0.8287 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1702, allocations: 0 / 0.8287 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.1967, allocations: 4.029 MB / 0.8327 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/7.762, allocations: 14.47 kB / 0.8327 GB, free: 4.688 MB / 0.5762 GB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 11.600321535021067] Failed to read output from testmodel.py, exit status != 0: 7.8369051003828645 7.849879015 7.688842055 Calling exit ...