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.001346/0.001346, 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.001459/0.001459, allocations: 217.5 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.105/3.105, allocations: 0.49 GB / 0.7959 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.002007/0.002007, allocations: 62.16 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4031, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003177/0.4063, allocations: 1.731 MB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.4092, allocations: 1.8 MB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.4093, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.4096, allocations: 39.66 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.4099, allocations: 111.5 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.4102, allocations: 91.67 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.4104, allocations: 143.5 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.4104, allocations: 5.641 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.4106, allocations: 71.62 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.4109, allocations: 59.75 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.4109, allocations: 12 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.4111, allocations: 111.9 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.4112, allocations: 27.8 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.4112, allocations: 51.72 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.4116, allocations: 199.5 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4116, allocations: 4 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4116, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.4116, allocations: 0 / 1.331 GB, free: 13.48 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.000708/0.4123, allocations: 405.1 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4123, allocations: 12.03 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.172e-05/0.4123, allocations: 192 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.4124, allocations: 30.75 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.4126, allocations: 24.83 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.4129, allocations: 167.1 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4129, allocations: 12.11 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.4129, allocations: 0 / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.4132, allocations: 101 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4132, allocations: 3.938 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4132, allocations: 0 / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4132, allocations: 4 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.4134, allocations: 47.95 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.4136, allocations: 190.5 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.4139, allocations: 115.8 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.4141, allocations: 46.56 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.4141, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.4144, allocations: 117.8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.4144, allocations: 4 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000538/0.4149, allocations: 165.5 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.415, allocations: 132.5 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.4153, allocations: 195.2 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.4153, allocations: 25.7 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.4154, allocations: 112.4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.4154, allocations: 19.84 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.4155, allocations: 25.72 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4157, allocations: 326.8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4158, allocations: 31.97 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.4159, allocations: 76.45 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.4162, allocations: 99.28 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4162, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003458/0.4165, allocations: 133.5 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4165, allocations: 8 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4165, allocations: 0 / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4165, allocations: 0 / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4167, allocations: 19.98 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4167, allocations: 7.938 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.4168, allocations: 11.89 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.4168, allocations: 11.98 kB / 1.334 GB, free: 10.55 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.0001286/0.4169, allocations: 127.1 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.417, allocations: 19.89 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.4172, allocations: 107.1 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4172, allocations: 4 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4172, allocations: 0 / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4172, allocations: 3.938 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.4175, allocations: 184.5 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4175, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.4175, allocations: 19.98 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4175, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4176, allocations: 4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4176, allocations: 4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4176, allocations: 128 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.4179, allocations: 178.6 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.418, allocations: 11.91 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.418, allocations: 11.98 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.4181, allocations: 4 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.4181, allocations: 7.984 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.4181, allocations: 4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001514/0.4183, allocations: 141.2 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4183, allocations: 0 / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002931/0.4186, allocations: 55.86 kB / 1.334 GB, free: 9.598 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 (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.002556/0.4211, allocations: 1.101 MB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.4215, allocations: 83.89 kB / 1.336 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4215, allocations: 0 / 1.336 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.4217, allocations: 43.91 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.422, allocations: 30.31 kB / 1.336 GB, free: 8.504 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.4245, allocations: 1.746 MB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.4249, allocations: 0.7078 MB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.391e-05/0.425, allocations: 28.56 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.4251, allocations: 43.42 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of SimCode: time 1.122e-06/0.4251, allocations: 0 / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.4547, allocations: 4.582 MB / 1.343 GB, free: 1.336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.22, allocations: 10.89 kB / 1.343 GB, free: 1.328 MB / 1.029 GB " [Timeout remaining time 288] (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.077791071031243] Failed to read output from testmodel.py, exit status != 0: 12.438521298987325 12.466089342 12.048835575 Calling exit ...