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.001808/0.001808, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.002445/0.002445, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 8.012 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.002587/0.002587, allocations: 287.3 kB / 312.7 MB, free: 2.832 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.212/1.212, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.002807/0.002807, allocations: 104.7 kB / 0.7396 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1712, allocations: 95.38 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002708/0.1739, allocations: 1.402 MB / 0.8341 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.1741, allocations: 47.81 kB / 0.8341 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.1741, allocations: 0 / 0.8341 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1743, allocations: 11.86 kB / 0.8341 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1744, allocations: 19.92 kB / 0.8342 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.276e-06/0.1744, allocations: 0 / 0.8342 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.1745, allocations: 19.88 kB / 0.8342 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.1745, allocations: 0 / 0.8342 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.1745, allocations: 7.984 kB / 0.8342 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.1746, allocations: 11.94 kB / 0.8342 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1746, allocations: 4 kB / 0.8342 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.687e-05/0.1746, allocations: 11.98 kB / 0.8342 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.1747, allocations: 19.86 kB / 0.8342 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.1747, allocations: 3.938 kB / 0.8342 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.1748, allocations: 32.12 kB / 0.8343 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1748, allocations: 3.984 kB / 0.8343 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1748, allocations: 0 / 0.8343 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1748, allocations: 0 / 0.8343 GB, free: 7.078 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.0003261/0.1751, allocations: 258.2 kB / 0.8345 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1752, allocations: 9.344 kB / 0.8345 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.1752, allocations: 38.75 kB / 0.8346 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.1752, allocations: 0.9375 kB / 0.8346 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.1754, allocations: 118.5 kB / 0.8347 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.1754, allocations: 384 / 0.8347 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1754, allocations: 4.375 kB / 0.8347 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.375e-05/0.1755, allocations: 26.27 kB / 0.8347 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1755, allocations: 7.922 kB / 0.8347 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1755, allocations: 0 / 0.8347 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.1755, allocations: 7.938 kB / 0.8347 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.1756, allocations: 4 kB / 0.8347 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.1757, allocations: 128.8 kB / 0.8348 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.215e-05/0.1757, allocations: 18.61 kB / 0.8349 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.1758, allocations: 4.859 kB / 0.8349 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1758, allocations: 0 / 0.8349 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1758, allocations: 38.61 kB / 0.8349 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.1758, allocations: 7.938 kB / 0.8349 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.1759, allocations: 45.58 kB / 0.835 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.176, allocations: 51.41 kB / 0.835 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1761, allocations: 113.8 kB / 0.8351 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1761, allocations: 25.7 kB / 0.8351 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1762, allocations: 88.14 kB / 0.8352 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1762, allocations: 7.938 kB / 0.8352 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.1762, allocations: 9.719 kB / 0.8352 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1763, allocations: 315 kB / 0.8355 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.1764, allocations: 4 kB / 0.8355 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.1764, allocations: 4 kB / 0.8355 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.1764, allocations: 12.8 kB / 0.8356 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1764, allocations: 0 / 0.8356 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.063e-05/0.1765, allocations: 41.62 kB / 0.8356 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1765, allocations: 7.938 kB / 0.8356 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1765, allocations: 4 kB / 0.8356 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1765, allocations: 4.094 kB / 0.8356 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.1765, allocations: 0 / 0.8356 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1765, allocations: 0 / 0.8356 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.1765, allocations: 0 / 0.8356 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1765, allocations: 4 kB / 0.8356 GB, free: 5.5 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.886e-05/0.1766, allocations: 114.5 kB / 0.8357 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.1766, allocations: 11.89 kB / 0.8357 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.595e-05/0.1767, allocations: 45.05 kB / 0.8358 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1767, allocations: 4.031 kB / 0.8358 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1767, allocations: 0 / 0.8358 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1767, allocations: 7.984 kB / 0.8358 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1768, allocations: 124.8 kB / 0.8359 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1768, allocations: 0 / 0.8359 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.1769, allocations: 4 kB / 0.8359 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1769, allocations: 3.938 kB / 0.8359 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1769, allocations: 4 kB / 0.8359 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1769, allocations: 0 / 0.8359 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1769, allocations: 0 / 0.8359 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.023e-05/0.177, allocations: 69.06 kB / 0.836 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.177, allocations: 3.953 kB / 0.836 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.177, allocations: 7.875 kB / 0.836 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-06/0.177, allocations: 0 / 0.836 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.177, allocations: 4 kB / 0.836 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.177, allocations: 0 / 0.836 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.1771, allocations: 91.58 kB / 0.8361 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1771, allocations: 0 / 0.8361 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001952/0.1773, allocations: 12.03 kB / 0.8361 GB, free: 4.922 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.0004822/0.1777, allocations: 0.6232 MB / 0.8367 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.011e-05/0.1778, allocations: 11.92 kB / 0.8367 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1778, allocations: 0 / 0.8367 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.1778, allocations: 4 kB / 0.8367 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.178, allocations: 5.562 kB / 0.8367 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.179, allocations: 1.1 MB / 0.8378 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1793, allocations: 0.6768 MB / 0.8385 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.703e-05/0.1794, allocations: 4 kB / 0.8385 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1794, allocations: 19.56 kB / 0.8385 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1794, allocations: 0 / 0.8385 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.2074, allocations: 1.521 MB / 0.84 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.38, allocations: 0 / 0.84 GB, free: 0.9688 MB / 0.5762 GB " [Timeout remaining time 649] (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.457916573854163] Failed to read output from testmodel.py, exit status != 0: 11.489743490004912 11.517966893 11.338547527 Calling exit ...