Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001245/0.001245, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002197/0.002197, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.18/3.18, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001997/0.001997, allocations: 63.89 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003059/1.045, allocations: 1.722 MB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002293/1.047, allocations: 1.705 MB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/1.047, allocations: 1.312 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003295/1.048, allocations: 45.03 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/1.048, allocations: 105 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/1.048, allocations: 98.2 kB / 1.344 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/1.048, allocations: 136.8 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/1.048, allocations: 6.375 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/1.049, allocations: 72.12 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/1.049, allocations: 60.25 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/1.049, allocations: 5.656 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/1.049, allocations: 115.4 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/1.049, allocations: 27.64 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/1.049, allocations: 49.27 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/1.05, allocations: 203.4 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.05, allocations: 0 / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/1.05, allocations: 4 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.05, allocations: 0 / 1.344 GB, free: 13.47 MB / 1.061 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.0006763/1.05, allocations: 468.5 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.05, allocations: 9.625 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.621e-05/1.05, allocations: 5.562 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/1.05, allocations: 36.06 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/1.051, allocations: 23.08 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/1.051, allocations: 238.5 kB / 1.345 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/1.051, allocations: 5.5 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/1.051, allocations: 3.5 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/1.051, allocations: 100.4 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.051, allocations: 0 / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.051, allocations: 4.609 kB / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.051, allocations: 1.375 kB / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/1.051, allocations: 48.12 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/1.052, allocations: 213.9 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/1.052, allocations: 130.1 kB / 1.346 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/1.052, allocations: 48.92 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/1.052, allocations: 7.438 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/1.052, allocations: 111.9 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/1.052, allocations: 0 / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005239/1.053, allocations: 159.6 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/1.053, allocations: 140.6 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/1.053, allocations: 195.1 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/1.053, allocations: 27.73 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/1.053, allocations: 104.8 kB / 1.346 GB, free: 11.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/1.053, allocations: 26.22 kB / 1.346 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/1.053, allocations: 22.61 kB / 1.346 GB, free: 11.65 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.325e-05/1.053, allocations: 327.3 kB / 1.347 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/1.053, allocations: 34.5 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/1.054, allocations: 65.88 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/1.054, allocations: 96.11 kB / 1.347 GB, free: 11.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.054, allocations: 0 / 1.347 GB, free: 11.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003062/1.054, allocations: 138.7 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.054, allocations: 5.828 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.054, allocations: 1.281 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.054, allocations: 1.344 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.054, allocations: 24.91 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.054, allocations: 1.375 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/1.054, allocations: 7.766 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/1.054, allocations: 4.578 kB / 1.347 GB, free: 11.13 MB / 1.061 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 9.284e-05/1.054, allocations: 133.6 kB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/1.054, allocations: 15.42 kB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/1.055, allocations: 17.02 kB / 1.347 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/1.055, allocations: 2.375 kB / 1.347 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.055, allocations: 5.75 kB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/1.055, allocations: 0.7031 kB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/1.055, allocations: 213.9 kB / 1.347 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.055, allocations: 4 kB / 1.347 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/1.055, allocations: 13.52 kB / 1.347 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.055, allocations: 2.172 kB / 1.347 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/1.055, allocations: 2.688 kB / 1.347 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.055, allocations: 5.188 kB / 1.347 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.055, allocations: 1.562 kB / 1.347 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/1.055, allocations: 178.9 kB / 1.348 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/1.055, allocations: 94.12 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/1.055, allocations: 3 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/1.055, allocations: 11.44 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/1.055, allocations: 15.34 kB / 1.348 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/1.055, allocations: 4.797 kB / 1.348 GB, free: 10.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001105/1.055, allocations: 141.2 kB / 1.348 GB, free: 10.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.055, allocations: 0 / 1.348 GB, free: 10.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002982/1.056, allocations: 46.42 kB / 1.348 GB, free: 10.41 MB / 1.061 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.002132/1.058, allocations: 1.108 MB / 1.349 GB, free: 9.625 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003378/1.058, allocations: 79.81 kB / 1.349 GB, free: 9.605 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.058, allocations: 0 / 1.349 GB, free: 9.605 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.058, allocations: 46.38 kB / 1.349 GB, free: 9.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/1.059, allocations: 28.42 kB / 1.349 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/1.061, allocations: 1.74 MB / 1.351 GB, free: 8.191 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/1.061, allocations: 0.7128 MB / 1.352 GB, free: 7.488 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.791e-05/1.061, allocations: 21.58 kB / 1.352 GB, free: 7.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/1.061, allocations: 44.95 kB / 1.352 GB, free: 7.457 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.061, allocations: 1.312 kB / 1.352 GB, free: 7.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/1.096, allocations: 4.425 MB / 1.356 GB, free: 6.527 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/10.02, allocations: 19.2 kB / 1.356 GB, free: 6.512 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.862623066990636] Failed to read output from testmodel.py, exit status != 0: 10.209952771023382 10.223977088 9.171738761 Calling exit ...