Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.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.001195/0.001195, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001241/0.001241, allocations: 189.7 kB / 22.23 MB, free: 5.133 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.336/1.336, allocations: 225.6 MB / 251 MB, free: 13.02 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.002466/0.002466, allocations: 287.9 kB / 306.5 MB, free: 8.328 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.182/1.182, 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.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 96.09 kB / 0.7308 GB, free: 38.78 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1581, allocations: 94.19 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00288/0.161, allocations: 1.504 MB / 0.8243 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1627, allocations: 1.205 MB / 0.8255 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.1628, allocations: 0 / 0.8255 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.1629, allocations: 15.86 kB / 0.8255 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1631, allocations: 43.78 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.1633, allocations: 63.73 kB / 0.8256 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.1635, allocations: 147.6 kB / 0.8257 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1636, allocations: 37.22 kB / 0.8258 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1637, allocations: 87.69 kB / 0.8258 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1639, allocations: 47.78 kB / 0.8259 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.164, allocations: 12 kB / 0.8259 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.164, allocations: 31.98 kB / 0.8259 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.1641, allocations: 55.83 kB / 0.826 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.1642, allocations: 75.56 kB / 0.826 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.1645, allocations: 203.2 kB / 0.8262 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.1645, allocations: 0 / 0.8262 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.42e-07/0.1645, allocations: 0 / 0.8262 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1645, allocations: 0 / 0.8262 GB, free: 14.31 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006121/0.1651, allocations: 425.3 kB / 0.8266 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.257e-05/0.1651, allocations: 8.031 kB / 0.8267 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.1652, allocations: 28.78 kB / 0.8267 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.1655, allocations: 202.4 kB / 0.8269 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.1657, allocations: 119.4 kB / 0.827 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.1657, allocations: 4.375 kB / 0.827 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.166, allocations: 169.1 kB / 0.8272 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-06/0.166, allocations: 0 / 0.8272 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.166, allocations: 4 kB / 0.8272 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.1661, allocations: 11.98 kB / 0.8272 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.1661, allocations: 43.97 kB / 0.8272 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1671, allocations: 427.5 kB / 0.8276 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/0.1672, allocations: 38.56 kB / 0.8277 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.1672, allocations: 24.84 kB / 0.8277 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1673, allocations: 8.141 kB / 0.8277 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1673, allocations: 30.56 kB / 0.8277 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1673, allocations: 0 / 0.8277 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002264/0.1675, allocations: 105.5 kB / 0.8278 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.1676, allocations: 55.41 kB / 0.8279 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1678, allocations: 217 kB / 0.8281 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.1678, allocations: 33.7 kB / 0.8281 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.1679, allocations: 132.1 kB / 0.8282 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.1679, allocations: 23.84 kB / 0.8283 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.168, allocations: 29.64 kB / 0.8283 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1681, allocations: 326.8 kB / 0.8286 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.1681, allocations: 23.98 kB / 0.8286 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1683, allocations: 106.2 kB / 0.8287 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.1684, allocations: 146.1 kB / 0.8289 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1684, allocations: 4 kB / 0.8289 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002463/0.1687, allocations: 153.2 kB / 0.829 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1687, allocations: 8 kB / 0.829 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.1687, allocations: 4 kB / 0.829 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1687, allocations: 4.375 kB / 0.829 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.1688, allocations: 31.92 kB / 0.8291 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1688, allocations: 7.938 kB / 0.8291 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.1689, allocations: 7.938 kB / 0.8291 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1689, allocations: 15.98 kB / 0.8291 GB, free: 11.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001202/0.169, allocations: 137.8 kB / 0.8292 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.1691, allocations: 19.89 kB / 0.8292 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.1693, allocations: 123.1 kB / 0.8294 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1693, allocations: 4 kB / 0.8294 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1693, allocations: 3.938 kB / 0.8294 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1693, allocations: 4 kB / 0.8294 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1695, allocations: 200.6 kB / 0.8296 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1695, allocations: 0 / 0.8296 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.1696, allocations: 19.92 kB / 0.8296 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1696, allocations: 0 / 0.8296 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.1696, allocations: 0 / 0.8296 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1696, allocations: 4 kB / 0.8296 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1696, allocations: 7.875 kB / 0.8296 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.1698, allocations: 191.4 kB / 0.8298 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.1698, allocations: 11.91 kB / 0.8298 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1698, allocations: 0 / 0.8298 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.1701, allocations: 23.97 kB / 0.8298 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.1701, allocations: 7.938 kB / 0.8298 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.1701, allocations: 11.97 kB / 0.8298 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001454/0.1703, allocations: 161.5 kB / 0.83 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1703, allocations: 0 / 0.83 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002896/0.1705, allocations: 35.89 kB / 0.83 GB, free: 10.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002017/0.1707, allocations: 119.2 kB / 0.8301 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1709, allocations: 76.06 kB / 0.8302 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1709, allocations: 4 kB / 0.8302 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.1709, allocations: 19.98 kB / 0.8302 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1712, allocations: 28.19 kB / 0.8303 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1717, allocations: 295.4 kB / 0.8305 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.172, allocations: 0.7319 MB / 0.8312 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.1721, allocations: 56.81 kB / 0.8313 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.1722, allocations: 15.44 kB / 0.8313 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1722, allocations: 3.938 kB / 0.8313 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of Templates: time 0.005202/0.1774, allocations: 2.439 MB / 0.8337 GB, free: 6.281 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.682992089539766] Failed to read output from testmodel.py, exit status != 0: 0.18419493362307549 0.198099153 0.030828460000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f916df197b0>