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.0006519/0.0006519, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008792/0.001531, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006654/0.0006654, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009682/0.001634, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9387/0.9387, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07747/1.016, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] 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.001245/0.001245, allocations: 230 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.002257, allocations: 475.7 kB / 244.8 MB, free: 14.05 MB / 250.7 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 0.7234/0.7234, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06265/0.7861, allocations: 42.4 MB / 426.7 MB, free: 5.824 MB / 410.7 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.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: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.156e-05, allocations: 2.312 kB / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.001531/0.001542, allocations: 1.467 MB / 429.5 MB, free: 3.004 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 5.137e-05/0.001594, allocations: 31.83 kB / 429.6 MB, free: 2.973 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.00162, allocations: 4 kB / 429.6 MB, free: 2.969 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.067e-05/0.00169, allocations: 11.86 kB / 429.6 MB, free: 2.957 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.833e-05/0.001739, allocations: 15.88 kB / 429.6 MB, free: 2.941 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.964e-06/0.001741, allocations: 4 kB / 429.6 MB, free: 2.938 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.671e-05/0.001787, allocations: 15.92 kB / 429.6 MB, free: 2.922 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.966e-05/0.001817, allocations: 0 / 429.6 MB, free: 2.922 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.001876, allocations: 19.97 kB / 429.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.001916, allocations: 7.938 kB / 429.6 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.001933, allocations: 0 / 429.6 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.554e-05/0.001969, allocations: 15.94 kB / 429.6 MB, free: 2.879 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.001998, allocations: 3.984 kB / 429.7 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.002011, allocations: 7.938 kB / 429.7 MB, free: 2.867 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.578e-05/0.002076, allocations: 11.94 kB / 429.7 MB, free: 2.855 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.002086, allocations: 8 kB / 429.7 MB, free: 2.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.002088, allocations: 3.984 kB / 429.7 MB, free: 2.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.002097, allocations: 0 / 429.7 MB, free: 2.844 MB / 410.7 MB 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.0002277/0.002324, allocations: 240.5 kB / 429.9 MB, free: 2.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.463e-05/0.002349, allocations: 8.031 kB / 429.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.002371, allocations: 4.938 kB / 429.9 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.00248, allocations: 126.5 kB / 430.1 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-06/0.002486, allocations: 4.359 kB / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.002494, allocations: 384 / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.958e-05/0.002553, allocations: 37.08 kB / 430.1 MB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.002559, allocations: 192 / 430.1 MB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-06/0.002563, allocations: 4.375 kB / 430.1 MB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.002585, allocations: 4.375 kB / 430.1 MB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.717e-06/0.002593, allocations: 11.88 kB / 430.1 MB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.746e-05/0.002651, allocations: 58.7 kB / 430.2 MB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.481e-05/0.002676, allocations: 18.61 kB / 430.2 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.368e-06/0.002685, allocations: 4.859 kB / 430.2 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.002697, allocations: 0 / 430.2 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.002715, allocations: 34.61 kB / 430.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.002715, allocations: 4 kB / 430.2 MB, free: 2.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 6.528e-05/0.002781, allocations: 37.64 kB / 430.3 MB, free: 2.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.002803, allocations: 55.41 kB / 430.3 MB, free: 2.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.678e-05/0.00286, allocations: 114.7 kB / 430.4 MB, free: 1.961 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.002868, allocations: 25.7 kB / 430.5 MB, free: 1.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.002886, allocations: 80.14 kB / 430.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.002903, allocations: 3.953 kB / 430.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.002921, allocations: 17.7 kB / 430.6 MB, free: 1.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.002985, allocations: 318.8 kB / 430.9 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-06/0.002991, allocations: 4 kB / 430.9 MB, free: 1.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-06/0.002994, allocations: 0 / 430.9 MB, free: 1.496 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.737e-05/0.003011, allocations: 15.81 kB / 430.9 MB, free: 1.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.003012, allocations: 4 kB / 430.9 MB, free: 1.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.681e-05/0.003039, allocations: 33.69 kB / 430.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.003049, allocations: 7.906 kB / 430.9 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.003052, allocations: 0 / 430.9 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.00306, allocations: 3.938 kB / 430.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.003093, allocations: 4 kB / 430.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.003095, allocations: 0 / 430.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-06/0.003102, allocations: 0 / 430.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.003106, allocations: 0 / 430.9 MB, free: 1.418 MB / 410.7 MB 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 4.082e-05/0.003147, allocations: 120.6 kB / 431.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-06/0.00315, allocations: 0 / 431.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.003203, allocations: 45.09 kB / 431.1 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-07/0.003204, allocations: 0 / 431.1 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.003205, allocations: 0 / 431.1 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.003207, allocations: 0 / 431.1 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.316e-05/0.00325, allocations: 77.81 kB / 431.2 MB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.003252, allocations: 4 kB / 431.2 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.003257, allocations: 0 / 431.2 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-06/0.003262, allocations: 0 / 431.2 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.003264, allocations: 8.031 kB / 431.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-06/0.003266, allocations: 0 / 431.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.003267, allocations: 0 / 431.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.41e-07/0.003267, allocations: 0 / 431.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.679e-05/0.003304, allocations: 67.83 kB / 431.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-06/0.00331, allocations: 0 / 431.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-06/0.003315, allocations: 0 / 431.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.003324, allocations: 7.984 kB / 431.3 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.003325, allocations: 0 / 431.3 MB, free: 1.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.578e-05/0.003341, allocations: 20.84 kB / 431.3 MB, free: 1.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003341, allocations: 0 / 431.3 MB, free: 1.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.808e-05/0.003429, allocations: 8.031 kB / 431.3 MB, free: 1.008 MB / 410.7 MB 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.0001213/0.00355, allocations: 92.34 kB / 431.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.046e-05/0.003591, allocations: 12.84 kB / 431.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.003594, allocations: 7.938 kB / 431.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.794e-06/0.003602, allocations: 12.95 kB / 431.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.285e-05/0.003655, allocations: 7.938 kB / 431.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.003916, allocations: 115.4 kB / 431.5 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.47e-05/0.003941, allocations: 59.34 kB / 431.6 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.119e-05/0.003952, allocations: 0 / 431.6 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.003976, allocations: 51.38 kB / 431.6 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.003976, allocations: 3.938 kB / 431.6 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of Templates: time 0.001578/0.005554, allocations: 0.5607 MB / 432.2 MB, free: 28 kB / 410.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2911369558423758]