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.001356/0.001356, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001538/0.001538, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.789 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.002513/0.002513, allocations: 284.1 kB / 312.7 MB, free: 2.602 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.206/1.206, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.002899/0.002899, allocations: 108.8 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1673, allocations: 95.38 MB / 0.8326 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003002/0.1703, allocations: 1.509 MB / 0.8341 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1721, allocations: 1.19 MB / 0.8353 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.1721, allocations: 0 / 0.8353 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1723, allocations: 15.86 kB / 0.8353 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1725, allocations: 43.78 kB / 0.8353 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.1727, allocations: 65.47 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1729, allocations: 147.6 kB / 0.8355 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.173, allocations: 45.45 kB / 0.8356 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1731, allocations: 75.77 kB / 0.8356 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1733, allocations: 67.62 kB / 0.8357 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.1733, allocations: 8 kB / 0.8357 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.1734, allocations: 24 kB / 0.8357 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.132e-05/0.1735, allocations: 51.88 kB / 0.8358 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.1735, allocations: 67.64 kB / 0.8358 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1738, allocations: 191.3 kB / 0.836 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1738, allocations: 0 / 0.836 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1738, allocations: 4 kB / 0.836 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1738, allocations: 7.875 kB / 0.836 GB, free: 4.828 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.0006502/0.1744, allocations: 425.3 kB / 0.8364 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1745, allocations: 9.344 kB / 0.8365 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.1745, allocations: 42.69 kB / 0.8365 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.1746, allocations: 24.8 kB / 0.8365 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1749, allocations: 198.2 kB / 0.8367 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.1751, allocations: 230.2 kB / 0.8369 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1751, allocations: 4.375 kB / 0.8369 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.1755, allocations: 264.2 kB / 0.8372 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.1755, allocations: 0 / 0.8372 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1755, allocations: 4 kB / 0.8372 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.1756, allocations: 11.98 kB / 0.8372 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.244e-05/0.1756, allocations: 39.98 kB / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1767, allocations: 411.5 kB / 0.8376 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/0.1767, allocations: 30.58 kB / 0.8377 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.1768, allocations: 24.84 kB / 0.8377 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.1768, allocations: 4 kB / 0.8377 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1768, allocations: 38.55 kB / 0.8377 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1768, allocations: 4 kB / 0.8377 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002623/0.1771, allocations: 105.5 kB / 0.8378 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1771, allocations: 55.34 kB / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1774, allocations: 216.4 kB / 0.8381 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.1774, allocations: 33.69 kB / 0.8381 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/0.1775, allocations: 124.3 kB / 0.8382 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.1775, allocations: 23.8 kB / 0.8383 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.1776, allocations: 33.7 kB / 0.8383 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1777, allocations: 326.8 kB / 0.8386 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.1778, allocations: 35.91 kB / 0.8386 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1779, allocations: 106.2 kB / 0.8387 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1781, allocations: 146.1 kB / 0.8389 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1781, allocations: 0 / 0.8389 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002492/0.1783, allocations: 153.3 kB / 0.839 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1783, allocations: 4 kB / 0.839 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1783, allocations: 4 kB / 0.839 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1784, allocations: 4.375 kB / 0.839 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1785, allocations: 31.92 kB / 0.8391 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1785, allocations: 7.938 kB / 0.8391 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.1785, allocations: 11.89 kB / 0.8391 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1785, allocations: 4 kB / 0.8391 GB, free: 1.359 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.0001317/0.1787, allocations: 145.8 kB / 0.8392 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.1787, allocations: 19.84 kB / 0.8392 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.179, allocations: 119.1 kB / 0.8394 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.179, allocations: 0 / 0.8394 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.179, allocations: 3.938 kB / 0.8394 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.179, allocations: 0 / 0.8394 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1792, allocations: 188.7 kB / 0.8395 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1792, allocations: 0 / 0.8395 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.1792, allocations: 15.94 kB / 0.8396 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1792, allocations: 0 / 0.8396 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1793, allocations: 7.984 kB / 0.8396 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1793, allocations: 0 / 0.8396 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1793, allocations: 3.938 kB / 0.8396 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1795, allocations: 191.4 kB / 0.8398 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.1795, allocations: 7.953 kB / 0.8398 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1795, allocations: 0 / 0.8398 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1797, allocations: 27.91 kB / 0.8398 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.1798, allocations: 7.938 kB / 0.8398 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.1798, allocations: 15.97 kB / 0.8398 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001463/0.1799, allocations: 161.5 kB / 0.84 GB, free: 400 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1799, allocations: 0 / 0.84 GB, free: 400 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002955/0.1802, allocations: 39.83 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.0006395/0.1809, allocations: 0.7411 MB / 0.8407 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.181, allocations: 76.31 kB / 0.8408 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.181, allocations: 0 / 0.8408 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.1811, allocations: 27.92 kB / 0.8408 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1814, allocations: 32.62 kB / 0.8409 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1834, allocations: 1.926 MB / 0.8427 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.1835, allocations: 114.1 kB / 0.8428 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.1836, allocations: 56.98 kB / 0.8429 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.1837, allocations: 43.42 kB / 0.8429 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.1837, allocations: 0 / 0.8429 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.2177, allocations: 4.901 MB / 0.8477 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.04, allocations: 2.406 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 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: 15.12468437384814] Failed to read output from testmodel.py, exit status != 0: 11.143054358195513 11.159705115 10.982717091 Calling exit ...