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.001275/0.001275, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001325/0.001325, allocations: 196.8 kB / 22.85 MB, free: 5.652 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.4/1.4, allocations: 225.6 MB / 251.5 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.004346/0.004346, allocations: 289.4 kB / 307 MB, free: 8.355 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.205/1.205, allocations: 180.8 MB / 0.5304 GB, free: 14.44 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.002788/0.002788, allocations: 110.7 kB / 0.7311 GB, free: 38.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1535, allocations: 94.21 MB / 0.8231 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002858/0.1563, allocations: 1.501 MB / 0.8246 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.158, allocations: 1.201 MB / 0.8257 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.1581, allocations: 3.938 kB / 0.8257 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.1582, allocations: 23.84 kB / 0.8258 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1584, allocations: 43.77 kB / 0.8258 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1586, allocations: 54.78 kB / 0.8258 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1588, allocations: 147.5 kB / 0.826 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1589, allocations: 37.22 kB / 0.826 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1591, allocations: 87.77 kB / 0.8261 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1592, allocations: 55.75 kB / 0.8262 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.1592, allocations: 8 kB / 0.8262 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.1593, allocations: 28 kB / 0.8262 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.1594, allocations: 55.75 kB / 0.8262 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.1595, allocations: 75.58 kB / 0.8263 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1598, allocations: 199.2 kB / 0.8265 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1598, allocations: 0 / 0.8265 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1598, allocations: 0 / 0.8265 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.1598, allocations: 0 / 0.8265 GB, free: 14.46 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.0006884/0.1605, allocations: 429.3 kB / 0.8269 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1605, allocations: 8.031 kB / 0.8269 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.1606, allocations: 16.84 kB / 0.8269 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.1609, allocations: 214.2 kB / 0.8271 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.1611, allocations: 115.4 kB / 0.8273 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1611, allocations: 4.375 kB / 0.8273 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.1615, allocations: 272.4 kB / 0.8275 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1615, allocations: 0 / 0.8275 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1616, allocations: 7.984 kB / 0.8275 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.1616, allocations: 4 kB / 0.8275 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.1617, allocations: 47.91 kB / 0.8276 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1627, allocations: 431.5 kB / 0.828 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.1628, allocations: 34.52 kB / 0.828 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.1629, allocations: 24.83 kB / 0.828 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1629, allocations: 4 kB / 0.828 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1629, allocations: 38.55 kB / 0.8281 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1629, allocations: 0 / 0.8281 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002692/0.1632, allocations: 105.7 kB / 0.8282 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1632, allocations: 51.41 kB / 0.8282 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1635, allocations: 225 kB / 0.8284 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.1635, allocations: 37.64 kB / 0.8285 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.1636, allocations: 124.1 kB / 0.8286 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.1636, allocations: 23.86 kB / 0.8286 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.1637, allocations: 29.7 kB / 0.8287 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1638, allocations: 326.8 kB / 0.829 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.1639, allocations: 31.97 kB / 0.829 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.164, allocations: 94.28 kB / 0.8291 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1642, allocations: 150.1 kB / 0.8292 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1642, allocations: 0 / 0.8292 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002505/0.1644, allocations: 153.6 kB / 0.8294 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1644, allocations: 8 kB / 0.8294 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1645, allocations: 4 kB / 0.8294 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1645, allocations: 4 kB / 0.8294 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1646, allocations: 27.98 kB / 0.8294 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1646, allocations: 11.88 kB / 0.8294 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.1646, allocations: 11.89 kB / 0.8294 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1647, allocations: 8 kB / 0.8294 GB, free: 11.14 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.0001314/0.1648, allocations: 142.5 kB / 0.8296 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.1648, allocations: 19.94 kB / 0.8296 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.1651, allocations: 127 kB / 0.8297 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1651, allocations: 0 / 0.8297 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1651, allocations: 7.938 kB / 0.8297 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1651, allocations: 0 / 0.8297 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.1653, allocations: 196.7 kB / 0.8299 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1653, allocations: 3.984 kB / 0.8299 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.1654, allocations: 12 kB / 0.8299 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1654, allocations: 3.938 kB / 0.8299 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1654, allocations: 3.938 kB / 0.8299 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1654, allocations: 4 kB / 0.8299 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1654, allocations: 7.938 kB / 0.83 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.1656, allocations: 183.4 kB / 0.8301 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.1656, allocations: 23.88 kB / 0.8302 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1656, allocations: 0 / 0.8302 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.1659, allocations: 15.98 kB / 0.8302 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.1659, allocations: 11.92 kB / 0.8302 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.1659, allocations: 15.98 kB / 0.8302 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001497/0.1661, allocations: 157.5 kB / 0.8303 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1661, allocations: 0 / 0.8303 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003031/0.1664, allocations: 35.89 kB / 0.8304 GB, free: 10.12 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.0002498/0.1666, allocations: 129.7 kB / 0.8305 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1668, allocations: 63.84 kB / 0.8306 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1668, allocations: 0 / 0.8306 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.1669, allocations: 35.91 kB / 0.8306 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1672, allocations: 16.73 kB / 0.8306 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.1677, allocations: 303.4 kB / 0.8309 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.168, allocations: 0.7314 MB / 0.8316 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.1681, allocations: 48.89 kB / 0.8317 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.1682, allocations: 19.42 kB / 0.8317 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1682, allocations: 0 / 0.8317 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of Templates: time 0.005454/0.1736, allocations: 2.445 MB / 0.8341 GB, free: 6.305 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.061542851966806] Failed to read output from testmodel.py, exit status != 0: 0.18120420596096665 0.195412876 0.032673931 Calling exit ...