Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 114.6 kB / 19.69 MB, free: 2.199 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 191.5 kB / 22.98 MB, free: 5.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.895/0.895, allocations: 149.6 MB / 456.6 MB, free: 1.207 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule")
translateModel(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 60.39 kB / 0.6328 GB, free: 9.016 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1813, allocations: 87.89 MB / 0.7187 GB, free: 1.043 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002635/0.1839, allocations: 1.486 MB / 0.7201 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.001593/0.1855, allocations: 1.196 MB / 0.7213 GB, free: 14.35 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.1856, allocations: 4 kB / 0.7213 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.1857, allocations: 19.86 kB / 0.7213 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1859, allocations: 39.78 kB / 0.7213 GB, free: 14.29 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.1861, allocations: 70.27 kB / 0.7214 GB, free: 14.22 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1863, allocations: 151.5 kB / 0.7215 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1864, allocations: 29.28 kB / 0.7216 GB, free: 14.04 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.1865, allocations: 79.83 kB / 0.7216 GB, free: 13.96 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1867, allocations: 67.61 kB / 0.7217 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.1867, allocations: 12 kB / 0.7217 GB, free: 13.89 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.673e-05/0.1868, allocations: 24 kB / 0.7217 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.1869, allocations: 55.81 kB / 0.7218 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.187, allocations: 71.58 kB / 0.7219 GB, free: 13.74 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1872, allocations: 203.2 kB / 0.7221 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1872, allocations: 0 / 0.7221 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.253e-06/0.1872, allocations: 0 / 0.7221 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 9.959e-06/0.1872, allocations: 0 / 0.7221 GB, free: 13.54 MB / 0.545 GB
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.0006633/0.1879, allocations: 433.3 kB / 0.7225 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1879, allocations: 8.625 kB / 0.7225 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.188, allocations: 16.84 kB / 0.7225 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1883, allocations: 201.9 kB / 0.7227 GB, free: 12.84 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.1884, allocations: 123.4 kB / 0.7228 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1884, allocations: 4.375 kB / 0.7228 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.1888, allocations: 163.2 kB / 0.723 GB, free: 12.53 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1888, allocations: 4 kB / 0.723 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1888, allocations: 4 kB / 0.723 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.1888, allocations: 8 kB / 0.723 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.1889, allocations: 43.97 kB / 0.723 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.1898, allocations: 439.4 kB / 0.7234 GB, free: 12 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.237e-05/0.1899, allocations: 26.58 kB / 0.7235 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.19, allocations: 32.84 kB / 0.7235 GB, free: 11.93 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.19, allocations: 4 kB / 0.7235 GB, free: 11.92 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.19, allocations: 30.56 kB / 0.7235 GB, free: 11.88 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.19, allocations: 0 / 0.7235 GB, free: 11.88 MB / 0.545 GB
Notification: Performance of matching and sorting (n=8): time 0.0002581/0.1903, allocations: 113.6 kB / 0.7236 GB, free: 11.77 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1903, allocations: 55.41 kB / 0.7237 GB, free: 11.7 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.1905, allocations: 211.8 kB / 0.7239 GB, free: 11.48 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1906, allocations: 29.7 kB / 0.7239 GB, free: 11.44 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.1906, allocations: 128.1 kB / 0.724 GB, free: 11.31 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.1907, allocations: 23.75 kB / 0.7241 GB, free: 11.29 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.1907, allocations: 33.7 kB / 0.7241 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001315/0.1908, allocations: 322.8 kB / 0.7244 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.1909, allocations: 31.97 kB / 0.7244 GB, free: 10.89 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.191, allocations: 98.23 kB / 0.7245 GB, free: 10.76 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1912, allocations: 158 kB / 0.7247 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1912, allocations: 0 / 0.7247 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002297/0.1914, allocations: 149.3 kB / 0.7248 GB, free: 10.42 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1914, allocations: 8.375 kB / 0.7248 GB, free: 10.41 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1914, allocations: 8 kB / 0.7248 GB, free: 10.4 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1914, allocations: 0 / 0.7248 GB, free: 10.4 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.686e-05/0.1915, allocations: 27.92 kB / 0.7249 GB, free: 10.38 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1915, allocations: 7.938 kB / 0.7249 GB, free: 10.37 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.1916, allocations: 11.95 kB / 0.7249 GB, free: 10.36 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1916, allocations: 8 kB / 0.7249 GB, free: 10.35 MB / 0.545 GB
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 0.0001218/0.1917, allocations: 147 kB / 0.725 GB, free: 10.2 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.1918, allocations: 15.91 kB / 0.7251 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.192, allocations: 111 kB / 0.7252 GB, free: 10.06 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.192, allocations: 0 / 0.7252 GB, free: 10.06 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.192, allocations: 7.922 kB / 0.7252 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.192, allocations: 4 kB / 0.7252 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1922, allocations: 204.6 kB / 0.7254 GB, free: 9.805 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1922, allocations: 0 / 0.7254 GB, free: 9.805 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.1923, allocations: 19.92 kB / 0.7254 GB, free: 9.785 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1923, allocations: 0 / 0.7254 GB, free: 9.785 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1923, allocations: 4 kB / 0.7254 GB, free: 9.781 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1923, allocations: 0 / 0.7254 GB, free: 9.781 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.1923, allocations: 7.938 kB / 0.7254 GB, free: 9.773 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.1925, allocations: 183.4 kB / 0.7256 GB, free: 9.578 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.1925, allocations: 15.84 kB / 0.7256 GB, free: 9.562 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.1925, allocations: 3.984 kB / 0.7256 GB, free: 9.559 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.1928, allocations: 19.98 kB / 0.7256 GB, free: 9.539 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.1928, allocations: 11.92 kB / 0.7256 GB, free: 9.527 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.1928, allocations: 11.98 kB / 0.7256 GB, free: 9.516 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0001425/0.1929, allocations: 168.1 kB / 0.7258 GB, free: 9.352 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1929, allocations: 3.938 kB / 0.7258 GB, free: 9.348 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002748/0.1932, allocations: 28 kB / 0.7258 GB, free: 9.32 MB / 0.545 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 (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.0002327/0.1934, allocations: 135.6 kB / 0.726 GB, free: 9.18 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001634/0.1936, allocations: 67.91 kB / 0.726 GB, free: 9.113 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1936, allocations: 3.938 kB / 0.726 GB, free: 9.109 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.1936, allocations: 23.98 kB / 0.726 GB, free: 9.086 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1939, allocations: 19.98 kB / 0.7261 GB, free: 9.066 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.1944, allocations: 294.6 kB / 0.7263 GB, free: 8.758 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.1947, allocations: 0.7314 MB / 0.7271 GB, free: 8 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0001074/0.1948, allocations: 48.88 kB / 0.7271 GB, free: 7.953 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.1949, allocations: 19.44 kB / 0.7271 GB, free: 7.934 MB / 0.545 GB
Notification: Performance of SimCode: time 3.1e-07/0.1949, allocations: 4 kB / 0.7271 GB, free: 7.93 MB / 0.545 GB
Notification: Performance of Templates: time 0.005269/0.2001, allocations: 2.425 MB / 0.7295 GB, free: 5.527 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.306311505846679]
Failed to read output from testmodel.py, exit status != 0:
0.20775036420673132 0.22040657499999994 0.03048336399999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f082b2c57b0>