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.0008205/0.0008205, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007773/0.0007773, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8592/0.8592, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.001503/0.001503, allocations: 240.4 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6491/0.6491, allocations: 138.4 MB / 454.3 MB, free: 29.95 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.316e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002206/0.002229, allocations: 1.702 MB / 0.6479 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2208/0.2231, allocations: 1.714 MB / 0.6496 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.2231, allocations: 3.312 kB / 0.6496 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.2234, allocations: 44.72 kB / 0.6497 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.2238, allocations: 110.4 kB / 0.6498 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.224, allocations: 97.67 kB / 0.6499 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.2242, allocations: 140.8 kB / 0.65 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.2242, allocations: 7.109 kB / 0.65 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.2244, allocations: 85.67 kB / 0.6501 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.2245, allocations: 45.11 kB / 0.6501 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2246, allocations: 6.719 kB / 0.6501 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.2247, allocations: 115.3 kB / 0.6502 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.2248, allocations: 23.73 kB / 0.6503 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.2248, allocations: 38.11 kB / 0.6503 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.2251, allocations: 204.6 kB / 0.6505 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2251, allocations: 4 kB / 0.6505 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2251, allocations: 0 / 0.6505 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2251, allocations: 1.188 kB / 0.6505 GB, free: 55.49 MB / 0.5573 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.0004812/0.2256, allocations: 394.3 kB / 0.6509 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2256, allocations: 13.06 kB / 0.6509 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.2257, allocations: 38.19 kB / 0.6509 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2258, allocations: 23.78 kB / 0.6509 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.226, allocations: 166.2 kB / 0.6511 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2261, allocations: 7.844 kB / 0.6511 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2261, allocations: 2.219 kB / 0.6511 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2262, allocations: 130.6 kB / 0.6512 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2262, allocations: 0 / 0.6512 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2263, allocations: 8.125 kB / 0.6512 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2263, allocations: 0.6562 kB / 0.6512 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.2264, allocations: 55.64 kB / 0.6513 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.2265, allocations: 175.6 kB / 0.6515 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.2267, allocations: 115.5 kB / 0.6516 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.2268, allocations: 53.05 kB / 0.6516 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2268, allocations: 2.031 kB / 0.6516 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.227, allocations: 119.4 kB / 0.6517 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.227, allocations: 3.844 kB / 0.6518 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0003148/0.2273, allocations: 175 kB / 0.6519 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.2273, allocations: 139.7 kB / 0.6521 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2274, allocations: 191.7 kB / 0.6522 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.2274, allocations: 32.61 kB / 0.6523 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.2275, allocations: 105.5 kB / 0.6524 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.2275, allocations: 31.52 kB / 0.6524 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.2275, allocations: 22.69 kB / 0.6524 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.2276, allocations: 328.7 kB / 0.6527 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.2276, allocations: 31.91 kB / 0.6528 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.2277, allocations: 93.27 kB / 0.6528 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2278, allocations: 102.2 kB / 0.6529 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2278, allocations: 1.594 kB / 0.6529 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001624/0.228, allocations: 140.3 kB / 0.6531 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.228, allocations: 5.062 kB / 0.6531 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.228, allocations: 1.156 kB / 0.6531 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.228, allocations: 2.578 kB / 0.6531 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.2281, allocations: 24 kB / 0.6531 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.2281, allocations: 4.391 kB / 0.6531 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.2282, allocations: 11.7 kB / 0.6531 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2282, allocations: 7.391 kB / 0.6531 GB, free: 53.33 MB / 0.5573 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 6.434e-05/0.2282, allocations: 126.8 kB / 0.6533 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.2283, allocations: 19.12 kB / 0.6533 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.2284, allocations: 125.9 kB / 0.6534 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2284, allocations: 2.125 kB / 0.6534 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2284, allocations: 0 / 0.6534 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2284, allocations: 5.484 kB / 0.6534 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.2285, allocations: 177.2 kB / 0.6536 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2285, allocations: 0 / 0.6536 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.2286, allocations: 17.61 kB / 0.6536 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2286, allocations: 6.969 kB / 0.6536 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2286, allocations: 3.266 kB / 0.6536 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2286, allocations: 0 / 0.6536 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2286, allocations: 5.344 kB / 0.6536 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.2288, allocations: 189.7 kB / 0.6538 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.2288, allocations: 14.47 kB / 0.6538 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2288, allocations: 2.922 kB / 0.6538 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/0.2289, allocations: 15.72 kB / 0.6538 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.2289, allocations: 11.53 kB / 0.6538 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2289, allocations: 4.719 kB / 0.6538 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.242e-05/0.229, allocations: 154.8 kB / 0.654 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.229, allocations: 1.781 kB / 0.654 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002069/0.2292, allocations: 49.73 kB / 0.654 GB, free: 52.7 MB / 0.5573 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 (10): * Single equations (assignments): 8 * 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.001095/0.2303, allocations: 1.156 MB / 0.6552 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.2305, allocations: 84.2 kB / 0.6552 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2305, allocations: 1.719 kB / 0.6552 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/0.2306, allocations: 51.27 kB / 0.6553 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2308, allocations: 34.39 kB / 0.6553 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2321, allocations: 1.77 MB / 0.6571 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.565e-05/0.2322, allocations: 99.33 kB / 0.6571 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.242e-05/0.2322, allocations: 22.12 kB / 0.6572 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.2323, allocations: 47.81 kB / 0.6572 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/0.2323, allocations: 0 / 0.6572 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.2538, allocations: 5.319 MB / 0.6624 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.494/6.748, allocations: 6 kB / 0.6624 GB, free: 48.93 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.36488370038569] Failed to read output from testmodel.py, exit status != 0: 6.844403192400932 6.851298768 6.62455708 Calling exit ...