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.001373/0.001373, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001594/0.001594, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.488/1.488, 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.002526/0.002526, allocations: 286.9 kB / 313.5 MB, free: 2.625 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.31/1.31, allocations: 180.6 MB / 0.5377 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="cs",version="2.0",platforms={"static"}) [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.002836/0.002836, allocations: 103.8 kB / 0.7402 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1887, allocations: 95.39 MB / 0.8334 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002898/0.1916, allocations: 1.396 MB / 0.8348 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.1917, allocations: 39.83 kB / 0.8348 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.1917, allocations: 0 / 0.8348 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.1919, allocations: 15.92 kB / 0.8348 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.192, allocations: 11.94 kB / 0.8348 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.586e-06/0.192, allocations: 0 / 0.8348 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.1921, allocations: 15.92 kB / 0.8348 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.1921, allocations: 4 kB / 0.8348 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.1922, allocations: 19.91 kB / 0.8349 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.1922, allocations: 3.938 kB / 0.8349 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1922, allocations: 4 kB / 0.8349 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.1923, allocations: 16 kB / 0.8349 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.1923, allocations: 3.984 kB / 0.8349 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.1923, allocations: 3.938 kB / 0.8349 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1924, allocations: 36.12 kB / 0.8349 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1924, allocations: 3.938 kB / 0.8349 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1924, allocations: 0 / 0.8349 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.1924, allocations: 0 / 0.8349 GB, free: 6.812 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.0003541/0.1928, allocations: 262.2 kB / 0.8352 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1928, allocations: 13.33 kB / 0.8352 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.572e-05/0.1929, allocations: 4.188 kB / 0.8352 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.1929, allocations: 30.75 kB / 0.8352 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1929, allocations: 8.938 kB / 0.8352 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1931, allocations: 110.5 kB / 0.8353 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.1931, allocations: 384 / 0.8353 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1931, allocations: 4.359 kB / 0.8353 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/0.1932, allocations: 38.02 kB / 0.8354 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1932, allocations: 0 / 0.8354 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1932, allocations: 3.938 kB / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.1932, allocations: 4 kB / 0.8354 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.182e-05/0.1933, allocations: 3.938 kB / 0.8354 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.1934, allocations: 128.8 kB / 0.8355 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.1935, allocations: 26.55 kB / 0.8355 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.1935, allocations: 4.859 kB / 0.8355 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1935, allocations: 4.062 kB / 0.8355 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.1936, allocations: 38.5 kB / 0.8356 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.1936, allocations: 0 / 0.8356 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.1937, allocations: 41.62 kB / 0.8356 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1938, allocations: 51.41 kB / 0.8357 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1939, allocations: 117.8 kB / 0.8358 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1939, allocations: 25.7 kB / 0.8358 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.194, allocations: 88.27 kB / 0.8359 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.194, allocations: 7.953 kB / 0.8359 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.194, allocations: 13.72 kB / 0.8359 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1942, allocations: 318.8 kB / 0.8362 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.1942, allocations: 0 / 0.8362 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.1942, allocations: 4 kB / 0.8362 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/0.1942, allocations: 8.859 kB / 0.8362 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1942, allocations: 0 / 0.8362 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.049e-05/0.1943, allocations: 45.62 kB / 0.8363 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1943, allocations: 7.938 kB / 0.8363 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1943, allocations: 4.406 kB / 0.8363 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1943, allocations: 0 / 0.8363 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.1944, allocations: 4 kB / 0.8363 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1944, allocations: 0 / 0.8363 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.1944, allocations: 0 / 0.8363 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1944, allocations: 3.984 kB / 0.8363 GB, free: 5.219 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 7.702e-05/0.1945, allocations: 110.5 kB / 0.8364 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.1945, allocations: 7.891 kB / 0.8364 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.804e-05/0.1946, allocations: 49.09 kB / 0.8364 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1946, allocations: 0 / 0.8364 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1946, allocations: 4.031 kB / 0.8365 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1946, allocations: 0 / 0.8365 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.1947, allocations: 124.8 kB / 0.8366 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1947, allocations: 3.938 kB / 0.8366 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.1947, allocations: 4 kB / 0.8366 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1947, allocations: 7.922 kB / 0.8366 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.1947, allocations: 0 / 0.8366 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1947, allocations: 0 / 0.8366 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1947, allocations: 0 / 0.8366 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.238e-05/0.1948, allocations: 65.12 kB / 0.8366 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.1948, allocations: 11.92 kB / 0.8367 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.1948, allocations: 0 / 0.8367 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.1948, allocations: 0 / 0.8367 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.1949, allocations: 15.86 kB / 0.8367 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1949, allocations: 4 kB / 0.8367 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.071e-05/0.1949, allocations: 91.28 kB / 0.8368 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1949, allocations: 0 / 0.8368 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001888/0.1951, allocations: 4 kB / 0.8368 GB, free: 4.645 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.0004779/0.1956, allocations: 0.617 MB / 0.8374 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.569e-05/0.1957, allocations: 4 kB / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1957, allocations: 0 / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.704e-06/0.1957, allocations: 7.938 kB / 0.8374 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1958, allocations: 8 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009872/0.1968, allocations: 1.106 MB / 0.8385 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.1968, allocations: 59.34 kB / 0.8385 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000115/0.197, allocations: 11.89 kB / 0.8385 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.197, allocations: 19.36 kB / 0.8386 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.197, allocations: 0 / 0.8386 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.2182, allocations: 1.575 MB / 0.8401 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.45, allocations: 4 kB / 0.8401 GB, free: 1.266 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.83769859210588] Failed to read output from testmodel.py, exit status != 0: 11.614332091994584 11.63371569 11.437370175 Calling exit ...