Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.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.00165/0.00165, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002112/0.002112, allocations: 215 kB / 22.25 MB, free: 5.129 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.996 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.002563/0.002563, allocations: 287.6 kB / 312.7 MB, free: 2.922 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.268/1.268, allocations: 180.6 MB / 0.5369 GB, free: 12.85 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.CSVWriter,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter",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.002888/0.002888, allocations: 105.2 kB / 0.7396 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1723, allocations: 95.39 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003039/0.1753, allocations: 1.651 MB / 0.8343 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1765, allocations: 0.6974 MB / 0.835 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.1766, allocations: 3.938 kB / 0.835 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1768, allocations: 27.8 kB / 0.8351 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.177, allocations: 39.75 kB / 0.8351 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.1775, allocations: 123.7 kB / 0.8352 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.1777, allocations: 195.5 kB / 0.8354 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1779, allocations: 21.91 kB / 0.8354 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1781, allocations: 87.81 kB / 0.8355 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1782, allocations: 91.66 kB / 0.8356 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.1783, allocations: 12 kB / 0.8356 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.1783, allocations: 28 kB / 0.8356 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.793e-05/0.1784, allocations: 39.83 kB / 0.8357 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1785, allocations: 71.72 kB / 0.8357 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.1788, allocations: 183.2 kB / 0.8359 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1788, allocations: 0 / 0.8359 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1788, allocations: 0 / 0.8359 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.1788, allocations: 0 / 0.8359 GB, free: 5.359 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007188/0.1796, allocations: 0.4887 MB / 0.8364 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1796, allocations: 9.344 kB / 0.8364 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.1796, allocations: 38.75 kB / 0.8364 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.1798, allocations: 24.88 kB / 0.8365 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1801, allocations: 186.4 kB / 0.8366 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1802, allocations: 8.375 kB / 0.8366 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.1802, allocations: 16.38 kB / 0.8367 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.1805, allocations: 121.5 kB / 0.8368 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1805, allocations: 4 kB / 0.8368 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1805, allocations: 0 / 0.8368 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1805, allocations: 4 kB / 0.8368 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.1807, allocations: 71.88 kB / 0.8368 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.1814, allocations: 395.5 kB / 0.8372 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1816, allocations: 82.56 kB / 0.8373 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1818, allocations: 68.81 kB / 0.8374 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1818, allocations: 0 / 0.8374 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.1821, allocations: 174.7 kB / 0.8375 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1821, allocations: 4 kB / 0.8375 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0007429/0.1828, allocations: 356.9 kB / 0.8379 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.1829, allocations: 170.2 kB / 0.838 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1831, allocations: 175.6 kB / 0.8382 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1832, allocations: 29.7 kB / 0.8382 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.1832, allocations: 112.3 kB / 0.8383 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1833, allocations: 23.8 kB / 0.8384 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.1833, allocations: 45.7 kB / 0.8384 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1835, allocations: 330.8 kB / 0.8387 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1836, allocations: 51.95 kB / 0.8388 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.1838, allocations: 104 kB / 0.8389 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.1841, allocations: 313 kB / 0.8392 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1841, allocations: 0 / 0.8392 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005534/0.1847, allocations: 356.1 kB / 0.8395 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.1848, allocations: 114.8 kB / 0.8396 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1848, allocations: 8.25 kB / 0.8396 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.1848, allocations: 4 kB / 0.8396 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.185, allocations: 23.92 kB / 0.8397 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.185, allocations: 0 / 0.8397 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1851, allocations: 15.95 kB / 0.8397 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1851, allocations: 11.94 kB / 0.8397 GB, free: 1.082 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.000224/0.1853, allocations: 204.2 kB / 0.8399 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.1854, allocations: 19.91 kB / 0.8399 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.1854, allocations: 17.41 kB / 0.8399 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1854, allocations: 0 / 0.8399 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1854, allocations: 3.938 kB / 0.8399 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1854, allocations: 288 / 0.8399 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008612/0.1863, allocations: 0.5632 MB / 0.8405 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1863, allocations: 0 / 0.8405 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-05/0.1863, allocations: 15.92 kB / 0.8405 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1863, allocations: 0 / 0.8405 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.1864, allocations: 4 kB / 0.8405 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1864, allocations: 8 kB / 0.8405 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1864, allocations: 3.938 kB / 0.8405 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.187, allocations: 414.6 kB / 0.8409 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.187, allocations: 11.91 kB / 0.8409 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.1871, allocations: 12 kB / 0.8409 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1872, allocations: 4 kB / 0.8409 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.1873, allocations: 15.92 kB / 0.8409 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1873, allocations: 15.98 kB / 0.841 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001359/0.1874, allocations: 125.2 kB / 0.8411 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1874, allocations: 0 / 0.8411 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000321/0.1877, allocations: 35.94 kB / 0.8411 GB, free: 15.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.00114/0.1889, allocations: 0.9627 MB / 0.842 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006158/0.1895, allocations: 361.6 kB / 0.8424 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1895, allocations: 0 / 0.8424 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.1897, allocations: 178.7 kB / 0.8426 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1901, allocations: 27.92 kB / 0.8426 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.1929, allocations: 2.119 MB / 0.8447 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1933, allocations: 0.7041 MB / 0.8453 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.005e-05/0.1934, allocations: 24.47 kB / 0.8454 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.1935, allocations: 35.42 kB / 0.8454 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of SimCode: time 4.3e-07/0.1935, allocations: 0 / 0.8454 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.2267, allocations: 3.873 MB / 0.8492 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.97, allocations: 3.75 kB / 0.8492 GB, free: 7.129 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.388993018998008] Failed to read output from testmodel.py, exit status != 0: 11.081708178000554 11.112065039 10.927938077 Calling exit ...