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.001763/0.001763, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002025/0.002025, allocations: 214.3 kB / 22.25 MB, free: 4.859 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.809 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.002433/0.002433, allocations: 292.7 kB / 312.7 MB, free: 2.629 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.16/1.16, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_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.002841/0.002841, allocations: 102.3 kB / 0.7395 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1725, allocations: 95.38 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002735/0.1753, allocations: 1.508 MB / 0.8341 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.177, allocations: 1.194 MB / 0.8353 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.1771, allocations: 0 / 0.8353 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1773, allocations: 19.84 kB / 0.8353 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1775, allocations: 39.8 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1777, allocations: 66.34 kB / 0.8354 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1779, allocations: 147.5 kB / 0.8355 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.178, allocations: 53.44 kB / 0.8356 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.895e-05/0.1781, allocations: 75.77 kB / 0.8357 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.1783, allocations: 59.69 kB / 0.8357 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.1783, allocations: 12 kB / 0.8357 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.1784, allocations: 24 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.1785, allocations: 51.81 kB / 0.8358 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.1786, allocations: 59.7 kB / 0.8358 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1789, allocations: 207.2 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1789, allocations: 0 / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.527e-06/0.1789, allocations: 4 kB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.1789, allocations: 0 / 0.836 GB, free: 4.82 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.0007541/0.1797, allocations: 417.3 kB / 0.8364 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1797, allocations: 13.34 kB / 0.8365 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.1798, allocations: 38.75 kB / 0.8365 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.1798, allocations: 20.8 kB / 0.8365 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1802, allocations: 198.2 kB / 0.8367 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.1804, allocations: 226.2 kB / 0.8369 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1804, allocations: 8.375 kB / 0.8369 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.1808, allocations: 264.2 kB / 0.8372 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1808, allocations: 3.938 kB / 0.8372 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1808, allocations: 0 / 0.8372 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.1809, allocations: 15.98 kB / 0.8372 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.761e-05/0.181, allocations: 39.97 kB / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.182, allocations: 411.6 kB / 0.8376 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/0.1821, allocations: 34.56 kB / 0.8377 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.1821, allocations: 24.8 kB / 0.8377 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1821, allocations: 3.984 kB / 0.8377 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.1822, allocations: 38.56 kB / 0.8377 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1822, allocations: 3.938 kB / 0.8377 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002543/0.1824, allocations: 97.58 kB / 0.8378 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1825, allocations: 59.34 kB / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1827, allocations: 220.4 kB / 0.8381 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.1827, allocations: 33.7 kB / 0.8381 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.1828, allocations: 120.3 kB / 0.8382 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1829, allocations: 31.78 kB / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.1829, allocations: 29.72 kB / 0.8383 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1831, allocations: 330.8 kB / 0.8386 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.1831, allocations: 23.98 kB / 0.8386 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1832, allocations: 102.2 kB / 0.8387 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1834, allocations: 138.2 kB / 0.8389 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1834, allocations: 0 / 0.8389 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002385/0.1836, allocations: 157.3 kB / 0.839 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1837, allocations: 4 kB / 0.839 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1837, allocations: 4 kB / 0.839 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1837, allocations: 4 kB / 0.839 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1838, allocations: 31.92 kB / 0.8391 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.1838, allocations: 4.312 kB / 0.8391 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.1839, allocations: 19.89 kB / 0.8391 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1839, allocations: 4 kB / 0.8391 GB, free: 1.367 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.0001259/0.184, allocations: 149 kB / 0.8392 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.184, allocations: 15.91 kB / 0.8392 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.1843, allocations: 127.1 kB / 0.8394 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1843, allocations: 0 / 0.8394 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1843, allocations: 3.938 kB / 0.8394 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1843, allocations: 3.938 kB / 0.8394 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1845, allocations: 184.7 kB / 0.8395 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1845, allocations: 0 / 0.8395 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.1845, allocations: 19.98 kB / 0.8396 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1846, allocations: 3.984 kB / 0.8396 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1846, allocations: 4 kB / 0.8396 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1846, allocations: 0 / 0.8396 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1846, allocations: 7.875 kB / 0.8396 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.1848, allocations: 187.4 kB / 0.8398 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.1848, allocations: 7.953 kB / 0.8398 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.1848, allocations: 4 kB / 0.8398 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.185, allocations: 19.97 kB / 0.8398 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.1851, allocations: 15.86 kB / 0.8398 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.1851, allocations: 15.98 kB / 0.8398 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001523/0.1852, allocations: 161.5 kB / 0.84 GB, free: 396 kB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1852, allocations: 0 / 0.84 GB, free: 396 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002879/0.1855, allocations: 35.89 kB / 0.84 GB, free: 360 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.0006694/0.1862, allocations: 0.7391 MB / 0.8407 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.1864, allocations: 68.39 kB / 0.8408 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1864, allocations: 0 / 0.8408 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.1864, allocations: 27.92 kB / 0.8408 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.1867, allocations: 24.62 kB / 0.8408 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1887, allocations: 1.929 MB / 0.8427 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1888, allocations: 118.1 kB / 0.8428 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.1889, allocations: 52.98 kB / 0.8429 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.189, allocations: 51.42 kB / 0.8429 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.189, allocations: 0 / 0.8429 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.2228, allocations: 4.901 MB / 0.8477 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.92, allocations: 6.75 kB / 0.8477 GB, free: 8.438 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.881790482904762] Failed to read output from testmodel.py, exit status != 0: 11.03751375619322 11.054779014 10.872435326 Calling exit ...