Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001332/0.001332, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001561/0.001561, allocations: 221.5 kB / 23 MB, free: 4.906 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.002496/0.002496, allocations: 289.7 kB / 313.5 MB, free: 2.633 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.184/1.184, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") [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.002909/0.002909, allocations: 99.09 kB / 0.7407 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1862, allocations: 95.38 MB / 0.8338 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002931/0.1891, allocations: 1.393 MB / 0.8352 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.1893, allocations: 39.83 kB / 0.8352 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.1893, allocations: 4 kB / 0.8353 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.1895, allocations: 15.86 kB / 0.8353 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.1896, allocations: 19.92 kB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.897e-06/0.1896, allocations: 0 / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.1897, allocations: 11.98 kB / 0.8353 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.1897, allocations: 7.938 kB / 0.8353 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.1897, allocations: 7.938 kB / 0.8353 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.1898, allocations: 3.984 kB / 0.8353 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1898, allocations: 4 kB / 0.8353 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.1899, allocations: 15.94 kB / 0.8353 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.1899, allocations: 3.984 kB / 0.8353 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.1899, allocations: 11.94 kB / 0.8353 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.19, allocations: 31.84 kB / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.19, allocations: 0 / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.364e-06/0.19, allocations: 0 / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.1901, allocations: 0 / 0.8354 GB, free: 6.277 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.0004017/0.1905, allocations: 266.2 kB / 0.8356 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1905, allocations: 9.344 kB / 0.8356 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1905, allocations: 0.9375 kB / 0.8356 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.1907, allocations: 122.5 kB / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1907, allocations: 384 / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.1907, allocations: 384 / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.049e-05/0.1908, allocations: 46.19 kB / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1908, allocations: 192 / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1908, allocations: 3.938 kB / 0.8358 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.1908, allocations: 0 / 0.8358 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.1909, allocations: 4 kB / 0.8358 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.191, allocations: 101.4 kB / 0.8359 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.344e-05/0.1911, allocations: 22.5 kB / 0.8359 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.1911, allocations: 8.922 kB / 0.8359 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1911, allocations: 0 / 0.8359 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1911, allocations: 34.5 kB / 0.836 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1911, allocations: 4 kB / 0.836 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.1913, allocations: 41.64 kB / 0.836 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1913, allocations: 55.41 kB / 0.8361 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1915, allocations: 125.7 kB / 0.8362 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1915, allocations: 25.7 kB / 0.8362 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.1915, allocations: 84.14 kB / 0.8363 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1915, allocations: 7.953 kB / 0.8363 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.1916, allocations: 9.719 kB / 0.8363 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1917, allocations: 310.8 kB / 0.8366 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.1917, allocations: 8 kB / 0.8366 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.1918, allocations: 12.05 kB / 0.8366 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.1918, allocations: 8.859 kB / 0.8366 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1918, allocations: 0 / 0.8366 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.981e-05/0.1918, allocations: 37.7 kB / 0.8367 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1918, allocations: 4 kB / 0.8367 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1919, allocations: 4 kB / 0.8367 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1919, allocations: 3.938 kB / 0.8367 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.1919, allocations: 4 kB / 0.8367 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1919, allocations: 4.297 kB / 0.8367 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.1919, allocations: 4.094 kB / 0.8367 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1919, allocations: 4 kB / 0.8367 GB, free: 4.754 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.173e-05/0.192, allocations: 106.5 kB / 0.8368 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.192, allocations: 7.953 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.837e-05/0.1921, allocations: 45.09 kB / 0.8368 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.1921, allocations: 7.938 kB / 0.8369 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1921, allocations: 0 / 0.8369 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1921, allocations: 0 / 0.8369 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.559e-05/0.1922, allocations: 105.3 kB / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1922, allocations: 0 / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.1923, allocations: 8.016 kB / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1923, allocations: 4 kB / 0.837 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.1923, allocations: 0 / 0.837 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1923, allocations: 0 / 0.837 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.1923, allocations: 7.922 kB / 0.837 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.256e-05/0.1923, allocations: 65.06 kB / 0.837 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.1924, allocations: 7.953 kB / 0.837 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1924, allocations: 0 / 0.837 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.1924, allocations: 0 / 0.837 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.1924, allocations: 7.875 kB / 0.8371 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.1924, allocations: 7.969 kB / 0.8371 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.1925, allocations: 95.27 kB / 0.8372 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1925, allocations: 0 / 0.8372 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002622/0.1927, allocations: 4 kB / 0.8372 GB, free: 4.215 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.0002186/0.1929, allocations: 114.6 kB / 0.8373 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.046e-05/0.193, allocations: 11.98 kB / 0.8373 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.193, allocations: 4 kB / 0.8373 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.193, allocations: 3.938 kB / 0.8373 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1932, allocations: 7.938 kB / 0.8373 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.1934, allocations: 137 kB / 0.8374 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.583e-05/0.1935, allocations: 63.34 kB / 0.8375 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.1935, allocations: 11.44 kB / 0.8375 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1935, allocations: 0 / 0.8375 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of Templates: time 0.002543/0.1961, allocations: 0.7753 MB / 0.8383 GB, free: 3.047 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.346957200672477] Failed to read output from testmodel.py, exit status != 0: 0.2042798469774425 0.218957067 0.025947157000000002 Calling exit ...