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.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.0009227/0.0009227, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001099/0.001099, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.005209/0.005209, allocations: 247 kB / 260.5 MB, free: 12.7 MB / 250.7 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 0.7783/0.7783, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 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.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 1.693e-06/1.693e-06, allocations: 0 / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.408e-05, allocations: 4.797 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002511/0.002535, allocations: 1.585 MB / 463.9 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.004331, allocations: 1.269 MB / 465.2 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.004398, allocations: 5.469 kB / 465.2 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.00461, allocations: 26.8 kB / 465.2 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.004836, allocations: 40.03 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.005026, allocations: 53.95 kB / 465.3 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.005284, allocations: 153 kB / 465.5 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.005435, allocations: 35.77 kB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.005636, allocations: 106.4 kB / 465.6 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.00577, allocations: 47.09 kB / 465.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.00581, allocations: 11.53 kB / 465.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.005881, allocations: 32.53 kB / 465.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.00595, allocations: 51.16 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.006019, allocations: 47.45 kB / 465.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.006281, allocations: 180.9 kB / 466 MB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.006283, allocations: 1.625 kB / 466 MB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006284, allocations: 0 / 466 MB, free: 14.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.006289, allocations: 0.75 kB / 466 MB, free: 14.73 MB / 426.7 MB 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.000509/0.006798, allocations: 384.1 kB / 466.3 MB, free: 14.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.006833, allocations: 8.969 kB / 466.3 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.006891, allocations: 14.91 kB / 466.4 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.007113, allocations: 193.8 kB / 466.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.007237, allocations: 217.7 kB / 466.8 MB, free: 14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.007259, allocations: 10.62 kB / 466.8 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.007473, allocations: 188 kB / 467 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.00748, allocations: 1.062 kB / 467 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.007498, allocations: 9.406 kB / 467 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.007532, allocations: 10.16 kB / 467 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.39e-05/0.007566, allocations: 14.73 kB / 467 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.00806, allocations: 277.8 kB / 467.3 MB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/0.00812, allocations: 33.05 kB / 467.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.008143, allocations: 16.86 kB / 467.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.008168, allocations: 4.141 kB / 467.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.008193, allocations: 38.55 kB / 467.4 MB, free: 13.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.008195, allocations: 0 / 467.4 MB, free: 13.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001552/0.00835, allocations: 61.67 kB / 467.4 MB, free: 13.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.008381, allocations: 51.41 kB / 467.5 MB, free: 13.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.008532, allocations: 184.9 kB / 467.6 MB, free: 13.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.008558, allocations: 29.7 kB / 467.7 MB, free: 13.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.008612, allocations: 112.1 kB / 467.8 MB, free: 12.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.008634, allocations: 27.78 kB / 467.8 MB, free: 12.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.008671, allocations: 35.16 kB / 467.8 MB, free: 12.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002738/0.008945, allocations: 326.8 kB / 468.2 MB, free: 12.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.008964, allocations: 8.797 kB / 468.2 MB, free: 12.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.009024, allocations: 87.39 kB / 468.3 MB, free: 12.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.562e-05/0.009119, allocations: 109.1 kB / 468.4 MB, free: 12.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.009123, allocations: 5.125 kB / 468.4 MB, free: 12.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000125/0.009248, allocations: 103.8 kB / 468.5 MB, free: 12.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.009262, allocations: 4 kB / 468.5 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.009269, allocations: 6.281 kB / 468.5 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.009283, allocations: 4 kB / 468.5 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.009356, allocations: 24.67 kB / 468.5 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.009362, allocations: 7.984 kB / 468.5 MB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.009404, allocations: 7.953 kB / 468.5 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.009414, allocations: 8 kB / 468.5 MB, free: 12.14 MB / 426.7 MB 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 9.32e-05/0.009508, allocations: 129.6 kB / 468.7 MB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.009538, allocations: 15.92 kB / 468.7 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.009663, allocations: 84.7 kB / 468.8 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.009665, allocations: 0 / 468.8 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.009667, allocations: 0.8125 kB / 468.8 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.009671, allocations: 0 / 468.8 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.0098, allocations: 107.2 kB / 468.9 MB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009801, allocations: 0 / 468.9 MB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.009834, allocations: 15.98 kB / 468.9 MB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.009838, allocations: 5.875 kB / 468.9 MB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.009845, allocations: 6.062 kB / 468.9 MB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009846, allocations: 0 / 468.9 MB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009848, allocations: 0 / 468.9 MB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.904e-05/0.009947, allocations: 156 kB / 469 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.009963, allocations: 20.73 kB / 469.1 MB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.009974, allocations: 0 / 469.1 MB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.01007, allocations: 16.64 kB / 469.1 MB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.01009, allocations: 4 kB / 469.1 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.0101, allocations: 9.094 kB / 469.1 MB, free: 11.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.318e-05/0.01016, allocations: 59.7 kB / 469.2 MB, free: 11.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01016, allocations: 0 / 469.2 MB, free: 11.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.01035, allocations: 28.62 kB / 469.2 MB, free: 11.47 MB / 426.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 (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.000189/0.01054, allocations: 109.3 kB / 469.3 MB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.995e-05/0.01064, allocations: 45.19 kB / 469.3 MB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.01065, allocations: 0.7812 kB / 469.3 MB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.986e-05/0.01067, allocations: 28.77 kB / 469.4 MB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.01088, allocations: 31.73 kB / 469.4 MB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.01125, allocations: 256 kB / 469.6 MB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.943e-05/0.0113, allocations: 75.98 kB / 469.7 MB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.072e-05/0.01137, allocations: 33.36 kB / 469.7 MB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.01157, allocations: 111.2 kB / 469.9 MB, free: 10.76 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01157, allocations: 3.938 kB / 469.9 MB, free: 10.76 MB / 426.7 MB Notification: Performance of Templates: time 0.005007/0.01658, allocations: 2.747 MB / 472.6 MB, free: 8.262 MB / 426.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6818072549067438]