Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001795/0.001795, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00201/0.00201, allocations: 189 kB / 22.22 MB, free: 5.105 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.396/1.396, allocations: 225.6 MB / 251 MB, free: 13.03 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.002576/0.002576, allocations: 282.3 kB / 306.5 MB, free: 8.363 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.201/1.201, allocations: 180.9 MB / 0.53 GB, free: 14.47 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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 104.6 kB / 0.7309 GB, free: 39.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.155, allocations: 94.19 MB / 0.8228 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003397/0.1584, allocations: 1.915 MB / 0.8247 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1609, allocations: 1.676 MB / 0.8263 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.1609, allocations: 3.938 kB / 0.8263 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.1612, allocations: 31.78 kB / 0.8264 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.1615, allocations: 83.48 kB / 0.8265 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.1619, allocations: 174 kB / 0.8266 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.1622, allocations: 289.3 kB / 0.8269 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1624, allocations: 29.03 kB / 0.8269 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1625, allocations: 95.81 kB / 0.827 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1627, allocations: 107.6 kB / 0.8271 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.1628, allocations: 23.94 kB / 0.8271 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1629, allocations: 79.97 kB / 0.8272 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.163, allocations: 95.72 kB / 0.8273 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1632, allocations: 119.3 kB / 0.8274 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.1636, allocations: 326.6 kB / 0.8277 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1636, allocations: 4 kB / 0.8277 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1636, allocations: 4 kB / 0.8277 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.1636, allocations: 0 / 0.8277 GB, free: 12.82 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008151/0.1644, allocations: 0.4976 MB / 0.8282 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1645, allocations: 12.62 kB / 0.8282 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1646, allocations: 32.75 kB / 0.8283 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.1649, allocations: 217.1 kB / 0.8285 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.165, allocations: 12.38 kB / 0.8285 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.165, allocations: 20.12 kB / 0.8285 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.1654, allocations: 245.5 kB / 0.8287 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1654, allocations: 0 / 0.8287 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.1655, allocations: 12 kB / 0.8288 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1655, allocations: 7.938 kB / 0.8288 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009641/0.1664, allocations: 0.749 MB / 0.8295 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1675, allocations: 0.6049 MB / 0.8301 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.1681, allocations: 293.9 kB / 0.8304 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1682, allocations: 101.4 kB / 0.8305 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.1683, allocations: 24.23 kB / 0.8305 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.1687, allocations: 188.5 kB / 0.8307 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.1687, allocations: 0 / 0.8307 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.0007465/0.1694, allocations: 373.1 kB / 0.831 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.1695, allocations: 140.5 kB / 0.8312 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.1698, allocations: 308.9 kB / 0.8315 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1698, allocations: 29.7 kB / 0.8315 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.17, allocations: 136.6 kB / 0.8316 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1701, allocations: 119 kB / 0.8317 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1702, allocations: 65.69 kB / 0.8318 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1704, allocations: 342.8 kB / 0.8321 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.1705, allocations: 83.81 kB / 0.8322 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1707, allocations: 124.5 kB / 0.8323 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1711, allocations: 217.1 kB / 0.8325 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1711, allocations: 0 / 0.8325 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004627/0.1715, allocations: 281.3 kB / 0.8328 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1715, allocations: 4 kB / 0.8328 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1715, allocations: 11.94 kB / 0.8328 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1716, allocations: 0 / 0.8328 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.1718, allocations: 63.84 kB / 0.8329 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1718, allocations: 0 / 0.8329 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.172, allocations: 27.88 kB / 0.8329 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.172, allocations: 15.98 kB / 0.8329 GB, free: 7.305 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001696/0.1722, allocations: 162.4 kB / 0.8331 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.1722, allocations: 27.81 kB / 0.8331 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000725/0.1729, allocations: 400.7 kB / 0.8335 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1729, allocations: 4.031 kB / 0.8335 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.173, allocations: 8 kB / 0.8335 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.173, allocations: 3.984 kB / 0.8335 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.1733, allocations: 316.4 kB / 0.8338 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1733, allocations: 0 / 0.8338 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.1735, allocations: 63.84 kB / 0.8338 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.1735, allocations: 8 kB / 0.8339 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.1735, allocations: 15.92 kB / 0.8339 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1735, allocations: 0 / 0.8339 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1735, allocations: 3.984 kB / 0.8339 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.1741, allocations: 326 kB / 0.8342 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1742, allocations: 67.69 kB / 0.8342 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.1742, allocations: 11.94 kB / 0.8343 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1744, allocations: 19.98 kB / 0.8343 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1745, allocations: 31.94 kB / 0.8343 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.1745, allocations: 8 kB / 0.8343 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002286/0.1748, allocations: 240.4 kB / 0.8345 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1748, allocations: 0 / 0.8345 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003047/0.1751, allocations: 71.94 kB / 0.8346 GB, free: 5.469 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00145/0.1765, allocations: 395.6 kB / 0.835 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.1769, allocations: 232.1 kB / 0.8352 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1769, allocations: 3.938 kB / 0.8352 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.1771, allocations: 123.7 kB / 0.8353 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.1775, allocations: 37.36 kB / 0.8354 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/0.1784, allocations: 0.5329 MB / 0.8359 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.1788, allocations: 0.7619 MB / 0.8366 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003313/0.1791, allocations: 146.9 kB / 0.8368 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.1792, allocations: 43.42 kB / 0.8368 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1792, allocations: 0 / 0.8368 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of Templates: time 0.008086/0.1873, allocations: 3.625 MB / 0.8404 GB, free: 15.74 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.035126619972289] Failed to read output from testmodel.py, exit status != 0: 0.1947684371843934 0.209932103 0.043354500000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbd6375d7b0>