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.001344/0.001344, allocations: 105 kB / 20.48 MB, free: 1.488 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.001567/0.001567, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.476/1.476, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9808/0.9808, allocations: 150 MB / 464 MB, free: 10.53 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.002016/0.002016, allocations: 74.09 kB / 0.642 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1806, allocations: 89.17 MB / 0.7291 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003678/0.1843, allocations: 1.502 MB / 0.7306 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1865, allocations: 1.25 MB / 0.7318 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.1866, allocations: 3.938 kB / 0.7318 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.1868, allocations: 15.86 kB / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.187, allocations: 43.78 kB / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.1872, allocations: 55.53 kB / 0.7319 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.1875, allocations: 151.6 kB / 0.732 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1876, allocations: 33.5 kB / 0.7321 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1877, allocations: 95.69 kB / 0.7322 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1879, allocations: 51.7 kB / 0.7322 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.188, allocations: 12 kB / 0.7322 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.864e-05/0.188, allocations: 31.98 kB / 0.7323 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.1881, allocations: 51.83 kB / 0.7323 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1883, allocations: 71.58 kB / 0.7324 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.1886, allocations: 203.2 kB / 0.7326 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1886, allocations: 0 / 0.7326 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1886, allocations: 0 / 0.7326 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.1886, allocations: 0 / 0.7326 GB, free: 13.77 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.0008454/0.1894, allocations: 433.3 kB / 0.733 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1895, allocations: 8.031 kB / 0.733 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.455e-05/0.1895, allocations: 4.188 kB / 0.733 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.1896, allocations: 42.73 kB / 0.733 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.1896, allocations: 20.84 kB / 0.7331 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.19, allocations: 202.1 kB / 0.7333 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.1902, allocations: 222.2 kB / 0.7335 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1902, allocations: 12.12 kB / 0.7335 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.1906, allocations: 157.6 kB / 0.7336 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1906, allocations: 0 / 0.7336 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.1907, allocations: 11.97 kB / 0.7336 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.1907, allocations: 4 kB / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.1908, allocations: 47.91 kB / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.192, allocations: 431.5 kB / 0.7341 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.745e-05/0.1921, allocations: 34.52 kB / 0.7341 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.1922, allocations: 20.84 kB / 0.7341 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1922, allocations: 4 kB / 0.7342 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.1922, allocations: 38.55 kB / 0.7342 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1922, allocations: 0 / 0.7342 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003474/0.1926, allocations: 109.7 kB / 0.7343 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.1926, allocations: 55.34 kB / 0.7343 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.1929, allocations: 215.8 kB / 0.7346 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.193, allocations: 29.7 kB / 0.7346 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1931, allocations: 116.2 kB / 0.7347 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1931, allocations: 31.69 kB / 0.7347 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.1932, allocations: 37.7 kB / 0.7348 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1934, allocations: 322.8 kB / 0.7351 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.1934, allocations: 27.97 kB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1936, allocations: 104.4 kB / 0.7352 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.1938, allocations: 146 kB / 0.7353 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1938, allocations: 4 kB / 0.7353 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003011/0.1941, allocations: 153.3 kB / 0.7355 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1941, allocations: 4 kB / 0.7355 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1941, allocations: 4 kB / 0.7355 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1941, allocations: 4 kB / 0.7355 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1943, allocations: 27.92 kB / 0.7355 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1943, allocations: 7.938 kB / 0.7355 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.1944, allocations: 15.89 kB / 0.7355 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1944, allocations: 4.344 kB / 0.7355 GB, free: 10.41 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.0001684/0.1945, allocations: 149.8 kB / 0.7357 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.1946, allocations: 15.91 kB / 0.7357 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.1948, allocations: 122.8 kB / 0.7358 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1949, allocations: 3.938 kB / 0.7358 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1949, allocations: 0 / 0.7358 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1949, allocations: 0 / 0.7358 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.1951, allocations: 200.6 kB / 0.736 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1951, allocations: 3.984 kB / 0.736 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.1952, allocations: 12 kB / 0.736 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1952, allocations: 4 kB / 0.736 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1952, allocations: 8 kB / 0.736 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1952, allocations: 7.938 kB / 0.7361 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1952, allocations: 0 / 0.7361 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1954, allocations: 183.4 kB / 0.7362 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.1955, allocations: 15.89 kB / 0.7362 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.1955, allocations: 8 kB / 0.7362 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.1958, allocations: 23.92 kB / 0.7363 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.1958, allocations: 3.984 kB / 0.7363 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.1958, allocations: 11.98 kB / 0.7363 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001787/0.196, allocations: 156.2 kB / 0.7364 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.196, allocations: 0 / 0.7364 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003413/0.1963, allocations: 31.94 kB / 0.7365 GB, free: 9.387 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.0007643/0.1971, allocations: 0.7589 MB / 0.7372 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1973, allocations: 76.31 kB / 0.7373 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1973, allocations: 4.25 kB / 0.7373 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.1973, allocations: 20 kB / 0.7373 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1977, allocations: 23.92 kB / 0.7373 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.2003, allocations: 1.901 MB / 0.7392 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.2008, allocations: 0.7392 MB / 0.7399 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.201, allocations: 56.81 kB / 0.74 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.2011, allocations: 51.36 kB / 0.74 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.2011, allocations: 0 / 0.74 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.2379, allocations: 4.39 MB / 0.7443 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.83, allocations: 8.047 kB / 0.7443 GB, free: 1.367 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.683880105032586] Failed to read output from testmodel.py, exit status != 0: 11.99919773597503 12.014871341 11.823053405 Calling exit ...