Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001691/0.001691, allocations: 116.8 kB / 17.17 MB, free: 6 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.001963/0.001963, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.838/2.838, allocations: 476.7 MB / 0.7678 GB, free: 9.367 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_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.002023/0.002023, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9205/0.9225, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003348/0.9259, allocations: 1.723 MB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.9287, allocations: 1.701 MB / 1.282 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.9288, allocations: 5.625 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.9291, allocations: 37.12 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000385/0.9295, allocations: 109.8 kB / 1.282 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.9297, allocations: 89.2 kB / 1.283 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.93, allocations: 146.2 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.93, allocations: 5.859 kB / 1.283 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.9302, allocations: 72.44 kB / 1.283 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.9304, allocations: 59.55 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.9304, allocations: 6.062 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.9306, allocations: 119.3 kB / 1.283 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.9307, allocations: 23.75 kB / 1.283 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.9308, allocations: 49.23 kB / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.9311, allocations: 206 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.9311, allocations: 2.016 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9311, allocations: 4 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.9311, allocations: 0 / 1.283 GB, free: 8.898 MB / 0.9981 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.0007436/0.9319, allocations: 470.9 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.9319, allocations: 9.531 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.252e-05/0.9319, allocations: 2.156 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.932, allocations: 32.81 kB / 1.284 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.9321, allocations: 26.59 kB / 1.284 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.9325, allocations: 243.4 kB / 1.284 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.9325, allocations: 6 kB / 1.284 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.9326, allocations: 6.562 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.9328, allocations: 95.36 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9328, allocations: 0.9688 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.9328, allocations: 1.062 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.9328, allocations: 5.5 kB / 1.284 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.933, allocations: 50.61 kB / 1.284 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.9333, allocations: 210.7 kB / 1.284 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.9336, allocations: 116.9 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.9337, allocations: 46.67 kB / 1.284 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.9338, allocations: 2.672 kB / 1.284 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.934, allocations: 116.8 kB / 1.285 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.934, allocations: 3.938 kB / 1.285 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000521/0.9346, allocations: 163.8 kB / 1.285 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.9347, allocations: 135.7 kB / 1.285 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.9349, allocations: 190.7 kB / 1.285 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.9349, allocations: 26.8 kB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.935, allocations: 105.1 kB / 1.285 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.935, allocations: 26.12 kB / 1.285 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.9351, allocations: 27.58 kB / 1.285 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9352, allocations: 323.6 kB / 1.286 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.9354, allocations: 34.8 kB / 1.286 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.9355, allocations: 60.64 kB / 1.286 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.9357, allocations: 103.8 kB / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9357, allocations: 1.406 kB / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003261/0.9361, allocations: 129.7 kB / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.9361, allocations: 6.141 kB / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9361, allocations: 1.25 kB / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.9361, allocations: 6.375 kB / 1.286 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.9362, allocations: 27.09 kB / 1.286 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.9362, allocations: 3.453 kB / 1.286 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.9363, allocations: 11.8 kB / 1.286 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.9363, allocations: 11.73 kB / 1.286 GB, free: 6.559 MB / 0.9981 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.0001239/0.9365, allocations: 130.2 kB / 1.286 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.9365, allocations: 15.03 kB / 1.286 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.9366, allocations: 21.48 kB / 1.286 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9366, allocations: 2.625 kB / 1.286 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9366, allocations: 0.75 kB / 1.286 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.9366, allocations: 5.406 kB / 1.286 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.9368, allocations: 209.7 kB / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9368, allocations: 0 / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.9369, allocations: 17.53 kB / 1.286 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9369, allocations: 1.688 kB / 1.286 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.9369, allocations: 3.141 kB / 1.286 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9369, allocations: 1.844 kB / 1.286 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9369, allocations: 0.75 kB / 1.286 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.9373, allocations: 175.4 kB / 1.286 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.9373, allocations: 94.66 kB / 1.287 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.9374, allocations: 7.109 kB / 1.287 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.9374, allocations: 11.3 kB / 1.287 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.9375, allocations: 6.734 kB / 1.287 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.9375, allocations: 8.188 kB / 1.287 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001588/0.9377, allocations: 147.8 kB / 1.287 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9377, allocations: 0 / 1.287 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003008/0.938, allocations: 50.25 kB / 1.287 GB, free: 5.836 MB / 0.9981 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.002373/0.9403, allocations: 1.099 MB / 1.288 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.9406, allocations: 83.16 kB / 1.288 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9407, allocations: 1.188 kB / 1.288 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.9408, allocations: 36.97 kB / 1.288 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.9411, allocations: 40.39 kB / 1.288 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.9434, allocations: 1.736 MB / 1.29 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.9438, allocations: 0.7127 MB / 1.29 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.02e-05/0.9439, allocations: 18.42 kB / 1.29 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.353e-05/0.944, allocations: 42.05 kB / 1.29 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.944, allocations: 0 / 1.29 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.9703, allocations: 4.429 MB / 1.295 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.585/9.556, allocations: 9.281 kB / 1.295 GB, free: 1.945 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.992440100992098] Failed to read output from testmodel.py, exit status != 0: 9.745844676042907 9.774455708 8.83802724 Calling exit ...