Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00128/0.00128, allocations: 116.1 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.001392/0.001392, allocations: 209.5 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.498/1.498, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002565/0.002565, allocations: 287.9 kB / 309.8 MB, free: 3.52 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.139/1.139, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002974/0.002974, allocations: 91.86 kB / 0.7347 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/0.5676, allocations: 95.35 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003298/0.5709, allocations: 1.725 MB / 0.8295 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.5733, allocations: 1.7 MB / 0.8311 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.5735, allocations: 1.375 kB / 0.8311 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.5738, allocations: 45.77 kB / 0.8312 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.5742, allocations: 104.2 kB / 0.8313 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.5745, allocations: 94.33 kB / 0.8313 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.5747, allocations: 142 kB / 0.8315 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.5748, allocations: 12.31 kB / 0.8315 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.575, allocations: 62.89 kB / 0.8316 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.5751, allocations: 61.56 kB / 0.8316 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.5751, allocations: 7.094 kB / 0.8316 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.5754, allocations: 119.6 kB / 0.8317 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.5754, allocations: 25.89 kB / 0.8318 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.5755, allocations: 50.19 kB / 0.8318 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.5758, allocations: 203.6 kB / 0.832 GB, free: 208 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5758, allocations: 0 / 0.832 GB, free: 208 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5758, allocations: 0 / 0.832 GB, free: 208 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.5759, allocations: 4 kB / 0.832 GB, free: 204 kB / 0.5762 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.0007493/0.5766, allocations: 473 kB / 0.8325 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5767, allocations: 12.03 kB / 0.8325 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.334e-05/0.5767, allocations: 192 / 0.8325 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.5767, allocations: 34.8 kB / 0.8325 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.5769, allocations: 21.75 kB / 0.8325 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.5773, allocations: 237.8 kB / 0.8328 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.5774, allocations: 6.922 kB / 0.8328 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.5774, allocations: 5.125 kB / 0.8328 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.5777, allocations: 93.86 kB / 0.8329 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5777, allocations: 3.938 kB / 0.8329 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.5777, allocations: 0.9844 kB / 0.8329 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.5777, allocations: 6.422 kB / 0.8329 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.5779, allocations: 51.48 kB / 0.8329 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.5782, allocations: 213.3 kB / 0.8331 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.5786, allocations: 117.8 kB / 0.8332 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.5787, allocations: 50.66 kB / 0.8333 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.5787, allocations: 0.75 kB / 0.8333 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.579, allocations: 115.6 kB / 0.8334 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.579, allocations: 1.312 kB / 0.8334 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005783/0.5796, allocations: 163.6 kB / 0.8335 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.5797, allocations: 140 kB / 0.8337 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.58, allocations: 190.9 kB / 0.8339 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.58, allocations: 28.3 kB / 0.8339 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.5801, allocations: 103.2 kB / 0.834 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.5801, allocations: 31.44 kB / 0.834 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.5802, allocations: 26.88 kB / 0.834 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5804, allocations: 322.2 kB / 0.8343 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.5805, allocations: 32.73 kB / 0.8344 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.5806, allocations: 67.91 kB / 0.8344 GB, free: 14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.5808, allocations: 103.7 kB / 0.8345 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5808, allocations: 1.656 kB / 0.8345 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003429/0.5812, allocations: 134.6 kB / 0.8347 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5812, allocations: 8.156 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.5812, allocations: 3.047 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5812, allocations: 2.094 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.5814, allocations: 19.55 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.5814, allocations: 6.344 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.513e-05/0.5815, allocations: 8.141 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.5815, allocations: 3.031 kB / 0.8347 GB, free: 13.86 MB / 0.5919 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.0001421/0.5816, allocations: 133.9 kB / 0.8348 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.5817, allocations: 16.38 kB / 0.8349 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.5817, allocations: 19.89 kB / 0.8349 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5817, allocations: 2.516 kB / 0.8349 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5817, allocations: 3.281 kB / 0.8349 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5817, allocations: 4.703 kB / 0.8349 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.582, allocations: 204.2 kB / 0.8351 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.582, allocations: 1.656 kB / 0.8351 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.582, allocations: 12 kB / 0.8351 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.5821, allocations: 5.828 kB / 0.8351 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5821, allocations: 2.969 kB / 0.8351 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5821, allocations: 2.703 kB / 0.8351 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5821, allocations: 0 / 0.8351 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.5825, allocations: 179.4 kB / 0.8353 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.5825, allocations: 95.3 kB / 0.8354 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.5826, allocations: 2.75 kB / 0.8354 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.5826, allocations: 13.2 kB / 0.8354 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.5827, allocations: 5.422 kB / 0.8354 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.5827, allocations: 8.312 kB / 0.8354 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001532/0.5829, allocations: 144.5 kB / 0.8355 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5829, allocations: 0 / 0.8355 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003138/0.5832, allocations: 48 kB / 0.8356 GB, free: 13.14 MB / 0.5919 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.002419/0.5856, allocations: 1.108 MB / 0.8367 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.586, allocations: 78.72 kB / 0.8367 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.586, allocations: 1.844 kB / 0.8367 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.5861, allocations: 41.66 kB / 0.8368 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.5864, allocations: 30.84 kB / 0.8368 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.5889, allocations: 1.74 MB / 0.8385 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5893, allocations: 0.7094 MB / 0.8392 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.5894, allocations: 29.41 kB / 0.8392 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5895, allocations: 45.95 kB / 0.8393 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.5895, allocations: 0 / 0.8393 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.614, allocations: 4.434 MB / 0.8436 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/9.023, allocations: 8.781 kB / 0.8436 GB, free: 9.258 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.18995511502726] Failed to read output from testmodel.py, exit status != 0: 9.207135022967122 9.233850053 8.653126194 Calling exit ...