Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001379/0.001379, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002012/0.002012, allocations: 212.3 kB / 23.03 MB, free: 4.922 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.269/3.269, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_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.002071/0.002071, allocations: 59.91 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4461, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003679/0.4498, allocations: 1.687 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.4528, allocations: 1.718 MB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.4529, allocations: 3.938 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.4532, allocations: 35.77 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.4536, allocations: 111.5 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.4539, allocations: 103.6 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.4541, allocations: 139.5 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.557e-05/0.4542, allocations: 5.641 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.4544, allocations: 67.64 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/0.455, allocations: 59.75 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.455, allocations: 8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.4553, allocations: 111.9 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.743e-05/0.4553, allocations: 31.84 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.4554, allocations: 39.73 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.4558, allocations: 203.5 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.4558, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4558, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4558, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 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.0008135/0.4566, allocations: 389.2 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4567, allocations: 12.03 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.397e-05/0.4567, allocations: 192 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.4568, allocations: 42.61 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.457, allocations: 28.83 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.4573, allocations: 163.1 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.4573, allocations: 12.11 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.4574, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.4577, allocations: 130.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.4577, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4577, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4577, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.4579, allocations: 55.95 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.4582, allocations: 178.6 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.4585, allocations: 115.7 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.4586, allocations: 54.55 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4587, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.4589, allocations: 117.9 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.4589, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005735/0.4595, allocations: 177.4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.4596, allocations: 132.5 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.4599, allocations: 207.2 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4599, allocations: 25.7 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.46, allocations: 104.1 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.46, allocations: 23.84 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.4601, allocations: 29.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4603, allocations: 327.1 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.4604, allocations: 35.97 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.4606, allocations: 102.1 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.4608, allocations: 95.34 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4608, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003374/0.4611, allocations: 149.5 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4612, allocations: 4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4612, allocations: 4 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4612, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4613, allocations: 23.97 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4613, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.4614, allocations: 15.89 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4614, allocations: 12.03 kB / 1.333 GB, free: 10.08 MB / 1.029 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.000136/0.4616, allocations: 136 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.4616, allocations: 15.91 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.4619, allocations: 119 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.4619, allocations: 4 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4619, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4619, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.4622, allocations: 172.6 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4622, allocations: 0 / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.4622, allocations: 27.92 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4623, allocations: 3.984 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.4623, allocations: 8 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4623, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4623, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.4627, allocations: 186.6 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.4627, allocations: 15.91 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.4628, allocations: 4.062 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.4629, allocations: 11.98 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.4629, allocations: 15.98 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.463, allocations: 4 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001852/0.4631, allocations: 145.5 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4631, allocations: 4 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003121/0.4635, allocations: 51.86 kB / 1.334 GB, free: 9.09 MB / 1.029 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.002827/0.4663, allocations: 1.16 MB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.4666, allocations: 95.88 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4666, allocations: 0 / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.4668, allocations: 47.91 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.4671, allocations: 29.8 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.4697, allocations: 1.772 MB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.4698, allocations: 97.03 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.4699, allocations: 24.64 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4701, allocations: 47.41 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4701, allocations: 3.938 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.5006, allocations: 4.815 MB / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.45, allocations: 15.34 kB / 1.342 GB, free: 1.137 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.476866213954054] Failed to read output from testmodel.py, exit status != 0: 12.679673286038451 12.706141588 12.245579818 Calling exit ...