Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001797/0.001797, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002053/0.002053, allocations: 216.2 kB / 23.03 MB, free: 4.922 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.824 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: 290.1 kB / 313.5 MB, free: 2.617 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.227/1.227, allocations: 180.6 MB / 0.5377 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 179] 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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",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: 101.3 kB / 0.7402 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1906, allocations: 95.39 MB / 0.8334 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003585/0.1942, allocations: 1.502 MB / 0.8349 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.1962, allocations: 1.19 MB / 0.836 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.1963, allocations: 3.938 kB / 0.836 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1965, allocations: 23.84 kB / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.1967, allocations: 43.78 kB / 0.8361 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.1969, allocations: 62.41 kB / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1972, allocations: 151.5 kB / 0.8363 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1973, allocations: 41.45 kB / 0.8363 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1975, allocations: 87.75 kB / 0.8364 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1976, allocations: 55.7 kB / 0.8365 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.1977, allocations: 12 kB / 0.8365 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/0.1978, allocations: 20 kB / 0.8365 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.1979, allocations: 59.81 kB / 0.8366 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.347e-05/0.198, allocations: 55.7 kB / 0.8366 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.1983, allocations: 207.2 kB / 0.8368 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1983, allocations: 0 / 0.8368 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1983, allocations: 0 / 0.8368 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.1983, allocations: 0 / 0.8368 GB, free: 4.859 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000803/0.1991, allocations: 421.3 kB / 0.8372 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1992, allocations: 9.344 kB / 0.8372 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.77e-05/0.1992, allocations: 4.188 kB / 0.8372 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.554e-05/0.1993, allocations: 46.73 kB / 0.8373 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.1993, allocations: 20.8 kB / 0.8373 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.1997, allocations: 198.2 kB / 0.8375 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.2, allocations: 222.2 kB / 0.8377 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.2, allocations: 16.06 kB / 0.8377 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.2004, allocations: 256.4 kB / 0.8379 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2005, allocations: 0 / 0.8379 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.2005, allocations: 3.984 kB / 0.8379 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.2005, allocations: 19.92 kB / 0.838 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.855e-05/0.2006, allocations: 46.22 kB / 0.838 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2018, allocations: 403.6 kB / 0.8384 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.706e-05/0.2019, allocations: 34.55 kB / 0.8384 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.202, allocations: 24.84 kB / 0.8385 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.202, allocations: 0 / 0.8385 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.202, allocations: 42.5 kB / 0.8385 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.2021, allocations: 0 / 0.8385 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003414/0.2024, allocations: 105.7 kB / 0.8386 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.2024, allocations: 55.34 kB / 0.8386 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.2027, allocations: 224.4 kB / 0.8389 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.2028, allocations: 33.7 kB / 0.8389 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.2029, allocations: 120.2 kB / 0.839 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.2029, allocations: 31.73 kB / 0.839 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.203, allocations: 29.7 kB / 0.8391 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.2032, allocations: 322.8 kB / 0.8394 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.2032, allocations: 27.98 kB / 0.8394 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2034, allocations: 106.2 kB / 0.8395 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.2036, allocations: 138.2 kB / 0.8396 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2036, allocations: 0 / 0.8396 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002887/0.2039, allocations: 153.3 kB / 0.8398 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2039, allocations: 4 kB / 0.8398 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2039, allocations: 4.375 kB / 0.8398 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2039, allocations: 8 kB / 0.8398 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.2041, allocations: 31.86 kB / 0.8398 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2041, allocations: 0 / 0.8398 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.876e-05/0.2041, allocations: 23.83 kB / 0.8398 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.2042, allocations: 4 kB / 0.8399 GB, free: 1.395 MB / 0.5762 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.0001612/0.2043, allocations: 141.8 kB / 0.84 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.2044, allocations: 19.91 kB / 0.84 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.2046, allocations: 119.4 kB / 0.8401 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2046, allocations: 3.938 kB / 0.8401 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.2047, allocations: 4 kB / 0.8401 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2047, allocations: 4 kB / 0.8401 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.2049, allocations: 184.7 kB / 0.8403 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2049, allocations: 0 / 0.8403 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.205, allocations: 15.98 kB / 0.8403 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.205, allocations: 0 / 0.8403 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.205, allocations: 8 kB / 0.8403 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.205, allocations: 4.016 kB / 0.8403 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.205, allocations: 3.984 kB / 0.8403 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.2053, allocations: 187.4 kB / 0.8405 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.2053, allocations: 7.953 kB / 0.8405 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.2053, allocations: 11.92 kB / 0.8405 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.2056, allocations: 23.92 kB / 0.8406 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.2056, allocations: 3.984 kB / 0.8406 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.2056, allocations: 11.98 kB / 0.8406 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001741/0.2058, allocations: 165.5 kB / 0.8407 GB, free: 432 kB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2058, allocations: 0 / 0.8407 GB, free: 432 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003296/0.2061, allocations: 35.89 kB / 0.8408 GB, free: 396 kB / 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 (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.0007562/0.2069, allocations: 0.7394 MB / 0.8415 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.2071, allocations: 71.83 kB / 0.8416 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2071, allocations: 0 / 0.8416 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/0.2071, allocations: 28.67 kB / 0.8416 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.2075, allocations: 33.77 kB / 0.8416 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.21, allocations: 1.91 MB / 0.8435 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.2101, allocations: 122.1 kB / 0.8436 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.2103, allocations: 56.92 kB / 0.8437 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.2104, allocations: 47.41 kB / 0.8437 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.2104, allocations: 0 / 0.8437 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.2389, allocations: 4.579 MB / 0.8482 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.78, allocations: 16.92 kB / 0.8482 GB, free: 8.809 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.247783345053904] Failed to read output from testmodel.py, exit status != 0: 11.939821709063835 11.966005025 11.762818382 Calling exit ...