Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.001618/0.001618, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001635/0.001635, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.781 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.002525/0.002525, allocations: 291.1 kB / 312.7 MB, free: 2.609 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.171/1.171, allocations: 180.6 MB / 0.5369 GB, free: 14.68 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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",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.002886/0.002886, allocations: 94.81 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1557, allocations: 95.39 MB / 0.8326 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002667/0.1583, allocations: 1.389 MB / 0.834 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001509/0.1585, allocations: 35.89 kB / 0.834 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.1585, allocations: 3.938 kB / 0.834 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1587, allocations: 7.938 kB / 0.834 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.1588, allocations: 19.92 kB / 0.8341 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.897e-06/0.1588, allocations: 0 / 0.8341 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.285e-05/0.1589, allocations: 8 kB / 0.8341 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.1589, allocations: 7.969 kB / 0.8341 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.159, allocations: 15.88 kB / 0.8341 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.159, allocations: 7.938 kB / 0.8341 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.159, allocations: 0 / 0.8341 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.021e-05/0.1591, allocations: 11.98 kB / 0.8341 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.1591, allocations: 8 kB / 0.8341 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.1592, allocations: 3.938 kB / 0.8341 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.1593, allocations: 28.12 kB / 0.8341 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1593, allocations: 0 / 0.8341 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1593, allocations: 0 / 0.8341 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.1593, allocations: 0 / 0.8341 GB, free: 6.809 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.0003569/0.1596, allocations: 262.2 kB / 0.8344 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1597, allocations: 13.34 kB / 0.8344 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.1597, allocations: 30.75 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.1597, allocations: 0.9375 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1599, allocations: 122.5 kB / 0.8346 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-06/0.1599, allocations: 4.375 kB / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1599, allocations: 384 / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.692e-05/0.16, allocations: 42.17 kB / 0.8346 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.16, allocations: 3.938 kB / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1601, allocations: 0 / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.1601, allocations: 4 kB / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.1601, allocations: 4 kB / 0.8346 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.1604, allocations: 208.1 kB / 0.8348 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.174e-05/0.1604, allocations: 22.45 kB / 0.8348 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.1604, allocations: 12.91 kB / 0.8348 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1605, allocations: 7.938 kB / 0.8348 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1605, allocations: 30.56 kB / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1605, allocations: 0 / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.1606, allocations: 41.66 kB / 0.8349 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1607, allocations: 51.41 kB / 0.835 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1608, allocations: 113.8 kB / 0.8351 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1608, allocations: 33.7 kB / 0.8351 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.1608, allocations: 88.06 kB / 0.8352 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.1609, allocations: 0 / 0.8352 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1609, allocations: 17.84 kB / 0.8352 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.161, allocations: 314.8 kB / 0.8355 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.161, allocations: 0 / 0.8355 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.161, allocations: 4 kB / 0.8355 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/0.1611, allocations: 12.84 kB / 0.8355 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1611, allocations: 3.938 kB / 0.8355 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.544e-05/0.1611, allocations: 41.66 kB / 0.8356 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1612, allocations: 4 kB / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1612, allocations: 0 / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1612, allocations: 0 / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.181e-05/0.1612, allocations: 12.03 kB / 0.8356 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1612, allocations: 0 / 0.8356 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.1613, allocations: 3.984 kB / 0.8356 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1613, allocations: 0 / 0.8356 GB, free: 5.133 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 8.371e-05/0.1613, allocations: 114.4 kB / 0.8357 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1614, allocations: 0 / 0.8357 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.869e-05/0.1615, allocations: 49.14 kB / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1615, allocations: 0 / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1615, allocations: 0 / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1615, allocations: 0 / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1616, allocations: 132.7 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1617, allocations: 4 kB / 0.8359 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.1617, allocations: 4 kB / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1617, allocations: 0 / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.1617, allocations: 0 / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1617, allocations: 0 / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1617, allocations: 3.938 kB / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.1618, allocations: 147.4 kB / 0.836 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.1618, allocations: 0 / 0.836 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1618, allocations: 0 / 0.836 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.1618, allocations: 32 / 0.836 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.1619, allocations: 8 kB / 0.836 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1619, allocations: 0 / 0.836 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.1619, allocations: 95.2 kB / 0.8361 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1619, allocations: 0 / 0.8361 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002158/0.1621, allocations: 7.938 kB / 0.8361 GB, free: 4.5 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.0005392/0.1627, allocations: 0.6794 MB / 0.8368 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.786e-05/0.1628, allocations: 15.98 kB / 0.8368 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1628, allocations: 0 / 0.8368 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.1628, allocations: 0 / 0.8368 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.163, allocations: 6.406 kB / 0.8368 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.164, allocations: 1.182 MB / 0.838 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.665e-05/0.1641, allocations: 71.44 kB / 0.838 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.534e-05/0.1642, allocations: 7.984 kB / 0.838 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1642, allocations: 11.44 kB / 0.8381 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.1642, allocations: 0 / 0.8381 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.1919, allocations: 1.904 MB / 0.8399 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.89, allocations: 8.766 kB / 0.8399 GB, free: 0.625 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.77385594882071] Failed to read output from testmodel.py, exit status != 0: 10.986708952113986 11.002536947 10.840277793 Calling exit ...