Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.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.001355/0.001355, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001559/0.001559, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.766 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.002735/0.002735, allocations: 300.2 kB / 312.7 MB, free: 2.562 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.237/1.237, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") [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.002923/0.002923, allocations: 105 kB / 0.74 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1639, allocations: 95.38 MB / 0.8331 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.003047/0.167, allocations: 1.382 MB / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001746/0.1671, allocations: 35.77 kB / 0.8345 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.1672, allocations: 0 / 0.8345 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1673, allocations: 19.92 kB / 0.8345 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1675, allocations: 11.92 kB / 0.8345 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.1675, allocations: 0 / 0.8345 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.337e-05/0.1675, allocations: 15.94 kB / 0.8346 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.1675, allocations: 4 kB / 0.8346 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.1676, allocations: 11.92 kB / 0.8346 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.1676, allocations: 11.92 kB / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1676, allocations: 0 / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.811e-05/0.1677, allocations: 8 kB / 0.8346 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.1677, allocations: 7.984 kB / 0.8346 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.1677, allocations: 7.875 kB / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1679, allocations: 31.84 kB / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1679, allocations: 0 / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1679, allocations: 0 / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1679, allocations: 4 kB / 0.8346 GB, free: 6.262 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003419/0.1682, allocations: 258.2 kB / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1682, allocations: 13.34 kB / 0.8349 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.1683, allocations: 0.9375 kB / 0.8349 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.1684, allocations: 118.5 kB / 0.835 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.1684, allocations: 384 / 0.835 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.1684, allocations: 384 / 0.835 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.811e-05/0.1685, allocations: 30.27 kB / 0.835 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1686, allocations: 192 / 0.835 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1686, allocations: 3.938 kB / 0.835 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.1686, allocations: 4 kB / 0.835 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.1686, allocations: 7.938 kB / 0.8351 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1688, allocations: 105.3 kB / 0.8352 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.1688, allocations: 22.55 kB / 0.8352 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.1688, allocations: 4.859 kB / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1688, allocations: 0 / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.1689, allocations: 38.62 kB / 0.8352 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1689, allocations: 0 / 0.8352 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.169, allocations: 45.56 kB / 0.8353 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1691, allocations: 51.41 kB / 0.8353 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1692, allocations: 121.9 kB / 0.8354 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1692, allocations: 25.7 kB / 0.8355 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.1693, allocations: 80.14 kB / 0.8355 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1693, allocations: 7.953 kB / 0.8355 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1693, allocations: 13.72 kB / 0.8355 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1695, allocations: 322.8 kB / 0.8359 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.1695, allocations: 0 / 0.8359 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.1695, allocations: 0 / 0.8359 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.1696, allocations: 8.859 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1696, allocations: 0 / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.318e-05/0.1696, allocations: 49.69 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1696, allocations: 4 kB / 0.8359 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1696, allocations: 4 kB / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1697, allocations: 3.938 kB / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.1697, allocations: 0 / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1697, allocations: 0 / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.1697, allocations: 0 / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1697, allocations: 4 kB / 0.8359 GB, free: 4.766 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.234e-05/0.1698, allocations: 106.5 kB / 0.836 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.1698, allocations: 7.953 kB / 0.836 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.1699, allocations: 49.12 kB / 0.8361 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.17, allocations: 3.938 kB / 0.8361 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.17, allocations: 0 / 0.8361 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.17, allocations: 4 kB / 0.8361 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.961e-05/0.1701, allocations: 105.3 kB / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1701, allocations: 0 / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.1701, allocations: 0 / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1701, allocations: 0 / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1701, allocations: 4 kB / 0.8362 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1701, allocations: 7.938 kB / 0.8362 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1701, allocations: 8.281 kB / 0.8362 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.715e-05/0.1702, allocations: 57.12 kB / 0.8363 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.1702, allocations: 3.953 kB / 0.8363 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1702, allocations: 7.984 kB / 0.8363 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.1702, allocations: 4 kB / 0.8363 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.1702, allocations: 3.938 kB / 0.8363 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1702, allocations: 0 / 0.8363 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.028e-05/0.1703, allocations: 99.19 kB / 0.8364 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1703, allocations: 0 / 0.8364 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001983/0.1705, allocations: 4 kB / 0.8364 GB, free: 4.23 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 (1): * Single equations (assignments): 1 * 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.0002175/0.1707, allocations: 123.2 kB / 0.8365 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.814e-05/0.1708, allocations: 4 kB / 0.8365 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1708, allocations: 0 / 0.8365 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.1708, allocations: 0 / 0.8365 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.171, allocations: 8 kB / 0.8365 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.1712, allocations: 105.7 kB / 0.8366 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.262e-05/0.1713, allocations: 67.34 kB / 0.8367 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.694e-05/0.1714, allocations: 4 kB / 0.8367 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.1714, allocations: 15.36 kB / 0.8367 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.1714, allocations: 0 / 0.8367 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of Templates: time 0.002891/0.1743, allocations: 498.9 kB / 0.8372 GB, free: 3.379 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.137860374525189] Failed to read output from testmodel.py, exit status != 0: 0.18167917244136333 0.197591601 0.026609980000000002 Calling exit ...