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.001325/0.001325, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001454/0.001454, allocations: 214.5 kB / 23.78 MB, free: 4.555 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.82 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 0.9566/0.9566, allocations: 150 MB / 463.9 MB, free: 10.26 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",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.001988/0.001988, allocations: 62.72 kB / 0.6419 GB, free: 9.969 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1684, allocations: 89.18 MB / 0.729 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003167/0.1715, allocations: 1.472 MB / 0.7305 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.1735, allocations: 1.208 MB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.1736, allocations: 0 / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1738, allocations: 19.86 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.174, allocations: 39.78 kB / 0.7317 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1742, allocations: 58.97 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1745, allocations: 155.5 kB / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1746, allocations: 37.55 kB / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1747, allocations: 79.83 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.1749, allocations: 59.64 kB / 0.7321 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.1749, allocations: 12 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.175, allocations: 31.98 kB / 0.7321 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1751, allocations: 47.81 kB / 0.7322 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.943e-05/0.1752, allocations: 55.72 kB / 0.7322 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.1756, allocations: 211.2 kB / 0.7324 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1756, allocations: 0 / 0.7324 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1756, allocations: 0 / 0.7324 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1756, allocations: 4 kB / 0.7324 GB, free: 13.37 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.0008192/0.1764, allocations: 429.3 kB / 0.7328 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1765, allocations: 11.97 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.105e-05/0.1765, allocations: 4.188 kB / 0.7329 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.1765, allocations: 38.75 kB / 0.7329 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.1766, allocations: 16.84 kB / 0.7329 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.177, allocations: 198.2 kB / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.1772, allocations: 218.2 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1772, allocations: 12.12 kB / 0.7333 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.1777, allocations: 268.3 kB / 0.7336 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1777, allocations: 0 / 0.7336 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1777, allocations: 4 kB / 0.7336 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.1778, allocations: 11.98 kB / 0.7336 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.1779, allocations: 35.98 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.179, allocations: 423.4 kB / 0.734 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.1791, allocations: 30.58 kB / 0.7341 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.1791, allocations: 24.78 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1792, allocations: 4 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.1792, allocations: 46.53 kB / 0.7341 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1792, allocations: 0 / 0.7341 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003176/0.1795, allocations: 101.5 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1796, allocations: 55.34 kB / 0.7343 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.1799, allocations: 211.8 kB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.1799, allocations: 37.69 kB / 0.7345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.18, allocations: 120.2 kB / 0.7346 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1801, allocations: 23.75 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.1801, allocations: 33.7 kB / 0.7347 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1803, allocations: 326.8 kB / 0.735 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.1804, allocations: 27.97 kB / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1805, allocations: 104.4 kB / 0.7351 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.1807, allocations: 138.1 kB / 0.7353 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1807, allocations: 0 / 0.7353 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002994/0.181, allocations: 153.3 kB / 0.7354 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.181, allocations: 8 kB / 0.7354 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.181, allocations: 4 kB / 0.7354 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.181, allocations: 4 kB / 0.7354 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1812, allocations: 31.86 kB / 0.7354 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1812, allocations: 4 kB / 0.7354 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.113e-05/0.1813, allocations: 11.89 kB / 0.7355 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.1813, allocations: 8.375 kB / 0.7355 GB, free: 9.914 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.0001457/0.1814, allocations: 157.7 kB / 0.7356 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.1815, allocations: 15.91 kB / 0.7356 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.1817, allocations: 123 kB / 0.7357 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1817, allocations: 7.938 kB / 0.7358 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1817, allocations: 0 / 0.7358 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1817, allocations: 0 / 0.7358 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.182, allocations: 180.7 kB / 0.7359 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.182, allocations: 0 / 0.7359 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.1821, allocations: 15.94 kB / 0.7359 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1821, allocations: 0 / 0.7359 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1821, allocations: 11.98 kB / 0.736 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1821, allocations: 3.938 kB / 0.736 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1821, allocations: 0 / 0.736 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1823, allocations: 183.4 kB / 0.7361 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.1824, allocations: 19.91 kB / 0.7362 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1824, allocations: 0 / 0.7362 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.1826, allocations: 23.91 kB / 0.7362 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.1826, allocations: 0 / 0.7362 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.1827, allocations: 19.97 kB / 0.7362 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000169/0.1828, allocations: 156.2 kB / 0.7363 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1828, allocations: 7.938 kB / 0.7364 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003234/0.1832, allocations: 31.94 kB / 0.7364 GB, free: 8.895 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.0008231/0.184, allocations: 0.7403 MB / 0.7371 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1842, allocations: 76.56 kB / 0.7372 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1842, allocations: 0 / 0.7372 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.1843, allocations: 27.92 kB / 0.7372 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1846, allocations: 22.75 kB / 0.7372 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.1872, allocations: 1.919 MB / 0.7391 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.1874, allocations: 122.1 kB / 0.7392 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.1875, allocations: 60.8 kB / 0.7393 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.1876, allocations: 43.42 kB / 0.7393 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.1876, allocations: 0 / 0.7393 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.2203, allocations: 4.546 MB / 0.7438 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.01, allocations: 7.438 kB / 0.7438 GB, free: 1.375 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.787533218041062] Failed to read output from testmodel.py, exit status != 0: 12.18084623105824 12.210836873 12.02979837 Calling exit ...