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.001305/0.001305, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001391/0.001391, allocations: 215 kB / 23.04 MB, free: 5.074 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.201/3.201, allocations: 0.5003 GB / 0.8061 GB, free: 26.83 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.002042/0.002042, allocations: 65.78 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.392, allocations: 179 MB / 1.345 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.004491/0.3964, allocations: 1.735 MB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.4003, allocations: 1.792 MB / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.4004, allocations: 3.938 kB / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.4008, allocations: 35.77 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.4013, allocations: 115.5 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.4016, allocations: 95.64 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.4019, allocations: 139.5 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.868e-05/0.402, allocations: 5.641 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.4022, allocations: 79.62 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.4023, allocations: 51.77 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.4024, allocations: 4 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.4026, allocations: 123.9 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.4027, allocations: 27.86 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.4028, allocations: 43.73 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.4033, allocations: 211.4 kB / 1.35 GB, free: 12.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4033, allocations: 4 kB / 1.35 GB, free: 12.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4033, allocations: 0 / 1.35 GB, free: 12.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4033, allocations: 0 / 1.35 GB, free: 12.02 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.0008788/0.4041, allocations: 393.2 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4042, allocations: 12.03 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.843e-05/0.4042, allocations: 192 / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.4043, allocations: 42.75 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.4045, allocations: 20.83 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.4048, allocations: 167.1 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4049, allocations: 12.12 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.4049, allocations: 4 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.4052, allocations: 101 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4052, allocations: 4 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.4052, allocations: 0 / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4052, allocations: 3.938 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.4055, allocations: 51.89 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.4058, allocations: 186.5 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.4062, allocations: 123.6 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.4064, allocations: 42.62 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.4064, allocations: 8 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.4067, allocations: 105.9 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.4067, allocations: 0 / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007993/0.4075, allocations: 165.7 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.4077, allocations: 132.5 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.408, allocations: 202.9 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.408, allocations: 25.7 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4081, allocations: 108.1 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.4082, allocations: 27.78 kB / 1.352 GB, free: 9.871 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.4082, allocations: 21.7 kB / 1.352 GB, free: 9.844 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.4084, allocations: 330.9 kB / 1.352 GB, free: 9.512 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.4086, allocations: 35.97 kB / 1.352 GB, free: 9.477 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.4088, allocations: 56.28 kB / 1.352 GB, free: 9.406 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.4092, allocations: 103.3 kB / 1.352 GB, free: 9.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4092, allocations: 0 / 1.352 GB, free: 9.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004765/0.4097, allocations: 133.5 kB / 1.352 GB, free: 9.156 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.4097, allocations: 4 kB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4097, allocations: 4.094 kB / 1.352 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4097, allocations: 7.984 kB / 1.352 GB, free: 9.141 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.4099, allocations: 23.92 kB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4099, allocations: 0 / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.41, allocations: 12.25 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4101, allocations: 0 / 1.352 GB, free: 9.105 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.0001686/0.4102, allocations: 137.8 kB / 1.352 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.4103, allocations: 15.89 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.4107, allocations: 119 kB / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4107, allocations: 0 / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4107, allocations: 0 / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4107, allocations: 4 kB / 1.352 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.411, allocations: 180.6 kB / 1.353 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.411, allocations: 0 / 1.353 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4111, allocations: 15.94 kB / 1.353 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.4111, allocations: 3.984 kB / 1.353 GB, free: 8.574 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.4111, allocations: 4 kB / 1.353 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4111, allocations: 192 / 1.353 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4111, allocations: 4 kB / 1.353 GB, free: 8.566 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.4116, allocations: 178.5 kB / 1.353 GB, free: 8.367 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.4117, allocations: 15.91 kB / 1.353 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.4117, allocations: 0 / 1.353 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4118, allocations: 15.98 kB / 1.353 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.4119, allocations: 7.984 kB / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.4119, allocations: 4 kB / 1.353 GB, free: 8.324 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002218/0.4121, allocations: 145.2 kB / 1.353 GB, free: 8.184 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4121, allocations: 0 / 1.353 GB, free: 8.184 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005168/0.4126, allocations: 47.86 kB / 1.353 GB, free: 8.137 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 (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.003339/0.416, allocations: 1.099 MB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.4164, allocations: 83.89 kB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4165, allocations: 192 / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.4167, allocations: 47.91 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.4171, allocations: 39.5 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.4205, allocations: 1.748 MB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.4209, allocations: 0.7118 MB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.421, allocations: 16.64 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.4212, allocations: 47.41 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of SimCode: time 7.72e-07/0.4212, allocations: 3.938 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.4572, allocations: 4.563 MB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.31, allocations: 11.62 kB / 1.361 GB, free: 15.87 MB / 1.061 GB " [Timeout remaining time 287] (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.163132568995934] Failed to read output from testmodel.py, exit status != 0: 12.533424408000428 12.556277147 12.148668445 Calling exit ...