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.0009448/0.0009448, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002233, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008856/0.0008856, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.002049, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9592/0.9592, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08854/1.048, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.001618/0.001618, allocations: 248.8 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.003082, allocations: 463.5 kB / 244.7 MB, free: 14.16 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.6955/0.6955, allocations: 138.7 MB / 384.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06466/0.7602, allocations: 42.4 MB / 426.5 MB, free: 5.934 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.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.303e-06/1.303e-06, allocations: 0 / 427.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.414e-05, allocations: 2.312 kB / 427.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001803/0.001817, allocations: 1.595 MB / 429.4 MB, free: 3.035 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.002964, allocations: 1.274 MB / 430.6 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.003008, allocations: 0 / 430.6 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.003114, allocations: 23.84 kB / 430.6 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.003215, allocations: 35.73 kB / 430.7 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.003338, allocations: 59.83 kB / 430.7 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.003483, allocations: 147.5 kB / 430.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.00359, allocations: 37.92 kB / 430.9 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.00372, allocations: 127.6 kB / 431 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.003821, allocations: 51.81 kB / 431.1 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.003849, allocations: 16 kB / 431.1 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.003912, allocations: 24 kB / 431.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.003964, allocations: 31.86 kB / 431.2 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.004009, allocations: 27.94 kB / 431.2 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.004196, allocations: 155.4 kB / 431.3 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.00421, allocations: 0 / 431.3 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.00421, allocations: 0 / 431.3 MB, free: 1.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.004226, allocations: 0 / 431.3 MB, free: 1.031 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005068/0.004733, allocations: 419.5 kB / 431.8 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.004762, allocations: 11.98 kB / 431.8 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.004804, allocations: 24.92 kB / 431.8 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.005003, allocations: 189.9 kB / 432 MB, free: 356 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.005112, allocations: 218.2 kB / 432.2 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.005134, allocations: 16.31 kB / 432.2 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1861/0.1913, allocations: 178.5 kB / 432.4 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1913, allocations: 192 / 432.4 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.1913, allocations: 7.234 kB / 432.4 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.1913, allocations: 8.875 kB / 432.4 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.1914, allocations: 13.47 kB / 432.4 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.1919, allocations: 277.3 kB / 432.7 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.359e-05/0.1919, allocations: 24.41 kB / 432.7 MB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.1919, allocations: 13.33 kB / 432.7 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1919, allocations: 5.219 kB / 432.7 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.192, allocations: 36.86 kB / 432.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.192, allocations: 0 / 432.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001467/0.1921, allocations: 67.25 kB / 432.8 MB, free: 1.957 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.1921, allocations: 55.38 kB / 432.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1922, allocations: 191.3 kB / 433.1 MB, free: 1.777 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1923, allocations: 28.33 kB / 433.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.1923, allocations: 108.8 kB / 433.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.1923, allocations: 32.11 kB / 433.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1924, allocations: 28.45 kB / 433.3 MB, free: 1.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.1924, allocations: 329.2 kB / 433.6 MB, free: 1.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.1924, allocations: 7.797 kB / 433.6 MB, free: 1.332 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.999e-05/0.1924, allocations: 80.47 kB / 433.7 MB, free: 1.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.1925, allocations: 117.4 kB / 433.8 MB, free: 1.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1925, allocations: 0 / 433.8 MB, free: 1.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.892e-05/0.1926, allocations: 97.03 kB / 433.9 MB, free: 1.109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1926, allocations: 5.781 kB / 433.9 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1926, allocations: 2.781 kB / 433.9 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1926, allocations: 5.281 kB / 433.9 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.1927, allocations: 30.02 kB / 433.9 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1927, allocations: 3.953 kB / 433.9 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.1928, allocations: 20.02 kB / 433.9 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1928, allocations: 11.23 kB / 434 MB, free: 1.102 MB / 410.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 8.307e-05/0.1929, allocations: 119.4 kB / 434.1 MB, free: 16.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1929, allocations: 12.81 kB / 434.1 MB, free: 16.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.193, allocations: 77.06 kB / 434.2 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.193, allocations: 0 / 434.2 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.193, allocations: 1.938 kB / 434.2 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.193, allocations: 7.953 kB / 434.2 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.1931, allocations: 107.6 kB / 434.3 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1931, allocations: 0 / 434.3 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.1932, allocations: 20.73 kB / 434.3 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.1932, allocations: 14.03 kB / 434.3 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1932, allocations: 1.359 kB / 434.3 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.1932, allocations: 0 / 434.3 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1932, allocations: 2.812 kB / 434.3 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1932, allocations: 0.8906 kB / 434.3 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.233e-05/0.1933, allocations: 155.2 kB / 434.5 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.1933, allocations: 4.469 kB / 434.5 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1934, allocations: 12.61 kB / 434.5 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.1934, allocations: 6.062 kB / 434.5 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1934, allocations: 10.73 kB / 434.5 MB, free: 16.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.584e-05/0.1934, allocations: 53.61 kB / 434.5 MB, free: 16.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1934, allocations: 0 / 434.5 MB, free: 16.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.1936, allocations: 36.5 kB / 434.6 MB, free: 16.72 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.0001893/0.1938, allocations: 111.6 kB / 434.7 MB, free: 16.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.1939, allocations: 48.5 kB / 434.7 MB, free: 16.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1939, allocations: 0 / 434.7 MB, free: 16.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/0.1939, allocations: 23.33 kB / 434.8 MB, free: 16.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.1941, allocations: 47.2 kB / 434.8 MB, free: 16.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.1946, allocations: 255.3 kB / 435.1 MB, free: 16.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.1946, allocations: 77.08 kB / 435.1 MB, free: 16.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.1947, allocations: 31.62 kB / 435.2 MB, free: 16.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.1949, allocations: 109 kB / 435.3 MB, free: 16.34 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1949, allocations: 0 / 435.3 MB, free: 16.34 MB / 426.7 MB Notification: Performance of Templates: time 0.004818/0.1997, allocations: 2.91 MB / 438.2 MB, free: 16.25 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4889278141781688]