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.001246/0.001246, 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.001395/0.001395, allocations: 214.9 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.508/1.508, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.25/3.25, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 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.002067/0.002067, allocations: 61.78 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3342, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003288/0.3375, allocations: 1.697 MB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.3402, allocations: 1.711 MB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3403, allocations: 3.938 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3407, allocations: 35.77 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.3411, allocations: 111.5 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.3414, allocations: 99.64 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3417, allocations: 139.5 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.3418, allocations: 5.641 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.342, allocations: 75.62 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.3426, allocations: 55.72 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.3426, allocations: 8 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.3429, allocations: 119.9 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.3429, allocations: 27.91 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.343, allocations: 31.8 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.3434, allocations: 203.5 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3434, allocations: 3.938 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3434, allocations: 0 / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.3434, allocations: 0 / 1.349 GB, free: 11.63 MB / 1.045 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.000796/0.3442, allocations: 409.1 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3443, allocations: 12.03 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.767e-05/0.3443, allocations: 4.188 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.3443, allocations: 30.75 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.3445, allocations: 20.88 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.3449, allocations: 163.1 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3449, allocations: 4.125 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.3449, allocations: 4 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.3453, allocations: 130.7 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3453, allocations: 0 / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3453, allocations: 8 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3453, allocations: 3.938 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.3455, allocations: 59.89 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.3458, allocations: 174.5 kB / 1.35 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.3461, allocations: 119.7 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.3462, allocations: 54.61 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3463, allocations: 0 / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.3465, allocations: 109.9 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.3465, allocations: 0 / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0005517/0.3471, allocations: 173.5 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.3472, allocations: 132.5 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.3475, allocations: 207.2 kB / 1.351 GB, free: 9.609 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3475, allocations: 37.7 kB / 1.351 GB, free: 9.566 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.3476, allocations: 104.1 kB / 1.351 GB, free: 9.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.3476, allocations: 19.86 kB / 1.351 GB, free: 9.441 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.3477, allocations: 25.7 kB / 1.351 GB, free: 9.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3479, allocations: 326.8 kB / 1.352 GB, free: 9.082 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.348, allocations: 39.91 kB / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3481, allocations: 90.16 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.3484, allocations: 115.3 kB / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3484, allocations: 0 / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003406/0.3487, allocations: 133.5 kB / 1.352 GB, free: 8.672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3487, allocations: 7.984 kB / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3488, allocations: 0 / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3488, allocations: 8.094 kB / 1.352 GB, free: 8.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.3489, allocations: 23.92 kB / 1.352 GB, free: 8.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3489, allocations: 0 / 1.352 GB, free: 8.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.349, allocations: 15.94 kB / 1.352 GB, free: 8.617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.349, allocations: 3.984 kB / 1.352 GB, free: 8.613 MB / 1.045 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.0001517/0.3492, allocations: 135.3 kB / 1.352 GB, free: 8.473 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.3492, allocations: 15.89 kB / 1.352 GB, free: 8.457 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.3495, allocations: 131 kB / 1.352 GB, free: 8.316 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3495, allocations: 0 / 1.352 GB, free: 8.316 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3495, allocations: 4 kB / 1.352 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3495, allocations: 4 kB / 1.352 GB, free: 8.309 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.3498, allocations: 168.7 kB / 1.353 GB, free: 8.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3498, allocations: 0 / 1.353 GB, free: 8.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.781e-05/0.3498, allocations: 19.92 kB / 1.353 GB, free: 8.082 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3498, allocations: 4 kB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3499, allocations: 0 / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3499, allocations: 0 / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3499, allocations: 4 kB / 1.353 GB, free: 8.074 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.3503, allocations: 190.6 kB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.3503, allocations: 15.91 kB / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.3503, allocations: 8.062 kB / 1.353 GB, free: 7.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.3504, allocations: 11.98 kB / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.3505, allocations: 7.984 kB / 1.353 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.3505, allocations: 8 kB / 1.353 GB, free: 7.812 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001612/0.3507, allocations: 149.1 kB / 1.353 GB, free: 7.668 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3507, allocations: 0 / 1.353 GB, free: 7.668 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003026/0.351, allocations: 51.86 kB / 1.353 GB, free: 7.617 MB / 1.045 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.002754/0.3537, allocations: 1.154 MB / 1.354 GB, free: 6.652 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.3541, allocations: 87.83 kB / 1.354 GB, free: 6.566 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3541, allocations: 0 / 1.354 GB, free: 6.566 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3542, allocations: 47.91 kB / 1.354 GB, free: 6.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3546, allocations: 41.16 kB / 1.354 GB, free: 6.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.3572, allocations: 1.766 MB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.3573, allocations: 105 kB / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.3574, allocations: 20.78 kB / 1.356 GB, free: 4.461 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3575, allocations: 47.41 kB / 1.356 GB, free: 4.414 MB / 1.045 GB Notification: Performance of SimCode: time 1.052e-06/0.3575, allocations: 0 / 1.356 GB, free: 4.414 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.3888, allocations: 4.818 MB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.24, allocations: 7.812 kB / 1.361 GB, free: 15.66 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.14715785998851] Failed to read output from testmodel.py, exit status != 0: 12.468723312951624 12.494504912 12.146264518 Calling exit ...