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.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.00135/0.00135, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001481/0.001481, allocations: 213.6 kB / 22.99 MB, free: 4.609 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.038/1.038, allocations: 149.9 MB / 463 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002108/0.002108, allocations: 66.86 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1783, allocations: 89.17 MB / 0.7281 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002873/0.1812, allocations: 1.482 MB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.183, allocations: 1.208 MB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.1831, allocations: 7.938 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.1833, allocations: 15.86 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1835, allocations: 43.78 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.1837, allocations: 58.66 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.1839, allocations: 147.6 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.184, allocations: 33.56 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1841, allocations: 87.69 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.1843, allocations: 59.69 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.1843, allocations: 12 kB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-05/0.1844, allocations: 28 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.1845, allocations: 47.81 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.1846, allocations: 67.64 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.1849, allocations: 203.2 kB / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1849, allocations: 0 / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1849, allocations: 0 / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1849, allocations: 0 / 0.7315 GB, free: 13.53 MB / 0.5606 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.0007361/0.1856, allocations: 429.3 kB / 0.732 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1856, allocations: 8.031 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.1857, allocations: 38.75 kB / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.1858, allocations: 20.84 kB / 0.732 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1861, allocations: 202.1 kB / 0.7322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.1863, allocations: 226.2 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1863, allocations: 4.375 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.1868, allocations: 260.3 kB / 0.7327 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1868, allocations: 0 / 0.7327 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.1868, allocations: 4 kB / 0.7327 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.1868, allocations: 8 kB / 0.7327 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.452e-05/0.1869, allocations: 47.91 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.188, allocations: 411.6 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.1881, allocations: 34.52 kB / 0.7332 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.1881, allocations: 20.84 kB / 0.7332 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1882, allocations: 8 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1882, allocations: 34.55 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1882, allocations: 0 / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002828/0.1885, allocations: 101.8 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.1885, allocations: 67.28 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1888, allocations: 215.7 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1888, allocations: 25.7 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1889, allocations: 128.1 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.189, allocations: 27.89 kB / 0.7338 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.189, allocations: 33.7 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1892, allocations: 326.8 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.1892, allocations: 27.97 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1894, allocations: 95.5 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1895, allocations: 150.1 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1896, allocations: 0 / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002714/0.1898, allocations: 153.3 kB / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1898, allocations: 8 kB / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1898, allocations: 80 / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1899, allocations: 4 kB / 0.7345 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.19, allocations: 27.98 kB / 0.7345 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.19, allocations: 16.23 kB / 0.7346 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.1901, allocations: 15.89 kB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1901, allocations: 8 kB / 0.7346 GB, free: 10.07 MB / 0.5606 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.0001313/0.1902, allocations: 141.8 kB / 0.7347 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.1903, allocations: 15.91 kB / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.1905, allocations: 118.8 kB / 0.7348 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1905, allocations: 3.984 kB / 0.7349 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1905, allocations: 3.938 kB / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1905, allocations: 0 / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.1907, allocations: 184.7 kB / 0.735 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1907, allocations: 0 / 0.735 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.1908, allocations: 23.92 kB / 0.7351 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1908, allocations: 0 / 0.7351 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1908, allocations: 3.984 kB / 0.7351 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1908, allocations: 0 / 0.7351 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.1908, allocations: 3.938 kB / 0.7351 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.191, allocations: 195.4 kB / 0.7353 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.191, allocations: 11.91 kB / 0.7353 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.191, allocations: 0 / 0.7353 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.1913, allocations: 19.97 kB / 0.7353 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.1913, allocations: 11.94 kB / 0.7353 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.1913, allocations: 15.97 kB / 0.7353 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001539/0.1915, allocations: 160.2 kB / 0.7355 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1915, allocations: 0 / 0.7355 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002994/0.1918, allocations: 27.94 kB / 0.7355 GB, free: 9.062 MB / 0.5606 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.000657/0.1924, allocations: 0.745 MB / 0.7362 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1926, allocations: 75.83 kB / 0.7363 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1926, allocations: 0 / 0.7363 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-05/0.1927, allocations: 23.98 kB / 0.7363 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.193, allocations: 19.94 kB / 0.7363 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1951, allocations: 1.924 MB / 0.7382 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.1952, allocations: 114.1 kB / 0.7383 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.1953, allocations: 56.81 kB / 0.7384 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.1954, allocations: 43.42 kB / 0.7384 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.1954, allocations: 0 / 0.7384 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.2294, allocations: 4.888 MB / 0.7432 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.67, allocations: 2.25 kB / 0.7432 GB, free: 1.199 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.5602658088319] Failed to read output from testmodel.py, exit status != 0: 11.787041347939521 11.811766106 11.622907942 Calling exit ...