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.00137/0.00137, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001394/0.001394, allocations: 217.4 kB / 22.25 MB, free: 5.219 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 8.004 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.002573/0.002573, allocations: 274.9 kB / 312.7 MB, free: 2.812 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.255/1.255, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",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.002823/0.002823, allocations: 112.2 kB / 0.7396 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1978, allocations: 95.39 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003497/0.2013, allocations: 1.726 MB / 0.8344 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.2041, allocations: 1.792 MB / 0.8362 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2042, allocations: 3.938 kB / 0.8362 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.2045, allocations: 39.77 kB / 0.8362 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.2048, allocations: 107.5 kB / 0.8363 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.2051, allocations: 95.64 kB / 0.8364 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.2053, allocations: 143.5 kB / 0.8365 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.2054, allocations: 5.641 kB / 0.8365 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2056, allocations: 79.62 kB / 0.8366 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.2058, allocations: 55.77 kB / 0.8367 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.2058, allocations: 4 kB / 0.8367 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.206, allocations: 119.9 kB / 0.8368 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.2061, allocations: 27.92 kB / 0.8368 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.2062, allocations: 43.67 kB / 0.8369 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.2065, allocations: 211.4 kB / 0.8371 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2065, allocations: 0 / 0.8371 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2065, allocations: 4 kB / 0.8371 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2065, allocations: 0 / 0.8371 GB, free: 4.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007295/0.2073, allocations: 394.5 kB / 0.8374 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2073, allocations: 13.34 kB / 0.8375 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.2074, allocations: 34.75 kB / 0.8375 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.2075, allocations: 20.88 kB / 0.8375 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.2079, allocations: 171 kB / 0.8377 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2079, allocations: 8.375 kB / 0.8377 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2079, allocations: 7.938 kB / 0.8377 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.2082, allocations: 101 kB / 0.8378 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2082, allocations: 0 / 0.8378 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2082, allocations: 0 / 0.8378 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2082, allocations: 4 kB / 0.8378 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.2084, allocations: 55.89 kB / 0.8378 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.2086, allocations: 190.5 kB / 0.838 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.2089, allocations: 115.7 kB / 0.8381 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.209, allocations: 46.62 kB / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2091, allocations: 0 / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.2093, allocations: 117.9 kB / 0.8383 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.2093, allocations: 0 / 0.8383 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.000508/0.2098, allocations: 161.5 kB / 0.8384 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.2099, allocations: 136.8 kB / 0.8386 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.2101, allocations: 191.1 kB / 0.8388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.2101, allocations: 29.7 kB / 0.8388 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.2102, allocations: 108.1 kB / 0.8389 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.2103, allocations: 31.72 kB / 0.8389 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.2103, allocations: 29.7 kB / 0.8389 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2105, allocations: 322.8 kB / 0.8393 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2106, allocations: 31.97 kB / 0.8393 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.2107, allocations: 64.28 kB / 0.8393 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.2109, allocations: 91.36 kB / 0.8394 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.2109, allocations: 7.938 kB / 0.8394 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002914/0.2112, allocations: 133.5 kB / 0.8396 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2112, allocations: 8 kB / 0.8396 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2112, allocations: 0 / 0.8396 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2112, allocations: 0 / 0.8396 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2114, allocations: 27.91 kB / 0.8396 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2114, allocations: 4 kB / 0.8396 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.2115, allocations: 12.03 kB / 0.8396 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2115, allocations: 7.984 kB / 0.8396 GB, free: 1.254 MB / 0.5762 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.0001172/0.2116, allocations: 130.4 kB / 0.8398 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.2116, allocations: 15.91 kB / 0.8398 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.2119, allocations: 107.5 kB / 0.8399 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2119, allocations: 4.062 kB / 0.8399 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2119, allocations: 7.938 kB / 0.8399 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2119, allocations: 0 / 0.8399 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.2121, allocations: 192.6 kB / 0.8401 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2121, allocations: 0 / 0.8401 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.2121, allocations: 8 kB / 0.8401 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2121, allocations: 4 kB / 0.8401 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2122, allocations: 3.984 kB / 0.8401 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2122, allocations: 4 kB / 0.8401 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2122, allocations: 0 / 0.8401 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.2125, allocations: 174.6 kB / 0.8402 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.2125, allocations: 15.91 kB / 0.8403 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.2125, allocations: 4 kB / 0.8403 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.2126, allocations: 11.98 kB / 0.8403 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.2127, allocations: 7.984 kB / 0.8403 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.2127, allocations: 4 kB / 0.8403 GB, free: 500 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001383/0.2128, allocations: 149.1 kB / 0.8404 GB, free: 352 kB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2128, allocations: 0 / 0.8404 GB, free: 352 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002917/0.2131, allocations: 55.8 kB / 0.8405 GB, free: 296 kB / 0.5762 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.002315/0.2154, allocations: 1.103 MB / 0.8416 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.2157, allocations: 79.89 kB / 0.8416 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2157, allocations: 0 / 0.8416 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2159, allocations: 43.91 kB / 0.8417 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.2161, allocations: 24.48 kB / 0.8417 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.2183, allocations: 1.748 MB / 0.8434 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2186, allocations: 0.704 MB / 0.8441 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.162e-05/0.2187, allocations: 24.64 kB / 0.8441 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.2188, allocations: 43.41 kB / 0.8442 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.2188, allocations: 0 / 0.8442 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.2492, allocations: 4.555 MB / 0.8486 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.88, allocations: 18.22 kB / 0.8486 GB, free: 8.047 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_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_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.233750752999185] Failed to read output from testmodel.py, exit status != 0: 11.033139201001177 11.051076902 10.841074887 Calling exit ...