Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.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.00131/0.00131, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001412/0.001412, allocations: 208.7 kB / 23.04 MB, free: 5.074 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.002685/0.002685, allocations: 290.4 kB / 313.5 MB, free: 2.855 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.237/1.237, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",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.002795/0.002795, allocations: 102.1 kB / 0.7403 GB, free: 28.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1699, allocations: 95.38 MB / 0.8335 GB, free: 8.738 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003557/0.1735, allocations: 1.733 MB / 0.8352 GB, free: 6.992 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1764, allocations: 1.8 MB / 0.8369 GB, free: 5.184 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.1765, allocations: 3.938 kB / 0.8369 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1768, allocations: 43.77 kB / 0.837 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.1772, allocations: 103.5 kB / 0.8371 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1775, allocations: 103.6 kB / 0.8372 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.1778, allocations: 131.6 kB / 0.8373 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.1778, allocations: 5.641 kB / 0.8373 GB, free: 4.793 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.1781, allocations: 71.69 kB / 0.8374 GB, free: 4.723 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1782, allocations: 63.69 kB / 0.8374 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.1783, allocations: 8 kB / 0.8375 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.1785, allocations: 115.9 kB / 0.8376 GB, free: 4.539 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.1785, allocations: 23.92 kB / 0.8376 GB, free: 4.516 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.1786, allocations: 51.66 kB / 0.8376 GB, free: 4.465 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.179, allocations: 199.5 kB / 0.8378 GB, free: 4.27 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.179, allocations: 4 kB / 0.8378 GB, free: 4.266 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.282e-06/0.179, allocations: 0 / 0.8378 GB, free: 4.266 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.179, allocations: 0 / 0.8378 GB, free: 4.266 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007389/0.1797, allocations: 405.1 kB / 0.8382 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1798, allocations: 9.344 kB / 0.8382 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.435e-05/0.1798, allocations: 192 / 0.8382 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.1798, allocations: 34.75 kB / 0.8383 GB, free: 3.789 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.18, allocations: 24.88 kB / 0.8383 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.1803, allocations: 179 kB / 0.8385 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1803, allocations: 4.125 kB / 0.8385 GB, free: 3.559 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1803, allocations: 4 kB / 0.8385 GB, free: 3.555 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.1806, allocations: 97.03 kB / 0.8386 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1806, allocations: 4 kB / 0.8386 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1806, allocations: 0 / 0.8386 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1806, allocations: 3.984 kB / 0.8386 GB, free: 3.434 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.1808, allocations: 47.91 kB / 0.8386 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.181, allocations: 186.5 kB / 0.8388 GB, free: 3.156 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1813, allocations: 119.7 kB / 0.8389 GB, free: 3.012 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1814, allocations: 42.62 kB / 0.8389 GB, free: 2.961 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1814, allocations: 11.97 kB / 0.839 GB, free: 2.949 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.1817, allocations: 105.9 kB / 0.8391 GB, free: 2.824 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1817, allocations: 4 kB / 0.8391 GB, free: 2.82 MB / 0.5763 GB Notification: Performance of matching and sorting (n=8): time 0.0005597/0.1822, allocations: 173.7 kB / 0.8392 GB, free: 2.645 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.1823, allocations: 128.5 kB / 0.8393 GB, free: 2.488 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1825, allocations: 191.1 kB / 0.8395 GB, free: 2.293 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1826, allocations: 25.7 kB / 0.8396 GB, free: 2.262 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.1826, allocations: 116.1 kB / 0.8397 GB, free: 2.145 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.1827, allocations: 27.78 kB / 0.8397 GB, free: 2.117 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1828, allocations: 21.72 kB / 0.8397 GB, free: 2.09 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.183, allocations: 322.8 kB / 0.84 GB, free: 1.766 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1831, allocations: 39.94 kB / 0.8401 GB, free: 1.727 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.1832, allocations: 68.2 kB / 0.8401 GB, free: 1.645 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1835, allocations: 99.31 kB / 0.8402 GB, free: 1.535 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1835, allocations: 0 / 0.8402 GB, free: 1.535 MB / 0.5763 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000315/0.1838, allocations: 133.5 kB / 0.8403 GB, free: 1.398 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1838, allocations: 5.875 kB / 0.8403 GB, free: 1.395 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.1838, allocations: 4 kB / 0.8404 GB, free: 1.391 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1838, allocations: 4.094 kB / 0.8404 GB, free: 1.387 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.184, allocations: 23.92 kB / 0.8404 GB, free: 1.363 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.184, allocations: 0 / 0.8404 GB, free: 1.363 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.652e-05/0.184, allocations: 19.92 kB / 0.8404 GB, free: 1.344 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1841, allocations: 4 kB / 0.8404 GB, free: 1.34 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000118/0.1842, allocations: 122.4 kB / 0.8405 GB, free: 1.211 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1842, allocations: 11.91 kB / 0.8405 GB, free: 1.199 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.1845, allocations: 115 kB / 0.8406 GB, free: 1.078 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1845, allocations: 4 kB / 0.8406 GB, free: 1.074 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1845, allocations: 4 kB / 0.8406 GB, free: 1.07 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1845, allocations: 384 / 0.8406 GB, free: 1.07 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1847, allocations: 184.5 kB / 0.8408 GB, free: 0.8477 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1847, allocations: 4 kB / 0.8408 GB, free: 0.8438 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.1848, allocations: 15.98 kB / 0.8408 GB, free: 0.8281 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1848, allocations: 0 / 0.8408 GB, free: 0.8281 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1848, allocations: 8 kB / 0.8408 GB, free: 0.8203 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1848, allocations: 0 / 0.8408 GB, free: 0.8203 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1848, allocations: 0 / 0.8408 GB, free: 0.8203 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.1851, allocations: 170.6 kB / 0.841 GB, free: 0.6289 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.1852, allocations: 15.91 kB / 0.841 GB, free: 0.6133 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1852, allocations: 7.984 kB / 0.841 GB, free: 0.6055 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.1853, allocations: 8 kB / 0.841 GB, free: 0.5977 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1853, allocations: 7.984 kB / 0.841 GB, free: 0.5898 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1853, allocations: 8 kB / 0.8411 GB, free: 0.582 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001578/0.1855, allocations: 149.1 kB / 0.8412 GB, free: 448 kB / 0.5763 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1855, allocations: 0 / 0.8412 GB, free: 448 kB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002849/0.1858, allocations: 48.05 kB / 0.8412 GB, free: 400 kB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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: 0 * Record equations: 0 * When equations: 2 * 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.002372/0.1881, allocations: 1.106 MB / 0.8423 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1884, allocations: 75.89 kB / 0.8424 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1884, allocations: 0 / 0.8424 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1886, allocations: 48.09 kB / 0.8424 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1889, allocations: 38.72 kB / 0.8425 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.1912, allocations: 1.749 MB / 0.8442 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1916, allocations: 0.7041 MB / 0.8449 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.756e-05/0.1916, allocations: 32.86 kB / 0.8449 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.1917, allocations: 39.42 kB / 0.8449 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1917, allocations: 3.938 kB / 0.8449 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.2184, allocations: 4.571 MB / 0.8494 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.45, allocations: 19.97 kB / 0.8494 GB, free: 8.117 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.786668699001893] Failed to read output from testmodel.py, exit status != 0: 11.675744594016578 11.705503795 11.521194779 Calling exit ...