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.001686/0.001686, allocations: 97.88 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.001945/0.001945, allocations: 217.8 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002541/0.002541, allocations: 287.3 kB / 313.5 MB, free: 2.602 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.291/1.291, allocations: 180.6 MB / 0.5377 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] 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.00285/0.00285, allocations: 104.8 kB / 0.7403 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1871, allocations: 95.38 MB / 0.8334 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.00342/0.1905, allocations: 1.699 MB / 0.8351 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1935, allocations: 1.703 MB / 0.8367 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1936, allocations: 7.938 kB / 0.8367 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1939, allocations: 35.77 kB / 0.8368 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.1943, allocations: 119.5 kB / 0.8369 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1946, allocations: 87.66 kB / 0.837 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.1948, allocations: 139.5 kB / 0.8371 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.1949, allocations: 9.625 kB / 0.8371 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.1951, allocations: 75.64 kB / 0.8372 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/0.1957, allocations: 55.75 kB / 0.8372 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1958, allocations: 8 kB / 0.8372 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.196, allocations: 108 kB / 0.8373 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.34e-05/0.1961, allocations: 31.78 kB / 0.8374 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.1961, allocations: 35.8 kB / 0.8374 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.1965, allocations: 211.5 kB / 0.8376 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1965, allocations: 0 / 0.8376 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1965, allocations: 0 / 0.8376 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1965, allocations: 0 / 0.8376 GB, free: 4.012 MB / 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.0007614/0.1973, allocations: 405.1 kB / 0.838 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1973, allocations: 9.344 kB / 0.838 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.259e-05/0.1974, allocations: 4.125 kB / 0.838 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.1974, allocations: 38.75 kB / 0.838 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.1976, allocations: 20.88 kB / 0.8381 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1979, allocations: 167.1 kB / 0.8382 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1979, allocations: 8.125 kB / 0.8382 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1979, allocations: 0 / 0.8382 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.1982, allocations: 130.7 kB / 0.8384 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1982, allocations: 3.984 kB / 0.8384 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1982, allocations: 8 kB / 0.8384 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1983, allocations: 4 kB / 0.8384 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.1985, allocations: 51.95 kB / 0.8384 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.1987, allocations: 178.5 kB / 0.8386 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.199, allocations: 119.7 kB / 0.8387 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1991, allocations: 54.5 kB / 0.8388 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1992, allocations: 8 kB / 0.8388 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.1994, allocations: 109.9 kB / 0.8389 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.1994, allocations: 4 kB / 0.8389 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005501/0.2, allocations: 169.4 kB / 0.839 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.2001, allocations: 136.5 kB / 0.8392 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.2003, allocations: 199.1 kB / 0.8393 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.2004, allocations: 25.7 kB / 0.8394 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.2004, allocations: 112.1 kB / 0.8395 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.2005, allocations: 23.84 kB / 0.8395 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.2006, allocations: 33.91 kB / 0.8395 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2007, allocations: 322.8 kB / 0.8398 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2008, allocations: 31.97 kB / 0.8399 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.201, allocations: 97.91 kB / 0.84 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.2012, allocations: 99.33 kB / 0.8401 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2012, allocations: 7.969 kB / 0.8401 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003523/0.2016, allocations: 137.5 kB / 0.8402 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2016, allocations: 8 kB / 0.8402 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2016, allocations: 0 / 0.8402 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2016, allocations: 0 / 0.8402 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2018, allocations: 19.98 kB / 0.8402 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.2018, allocations: 4 kB / 0.8402 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.2019, allocations: 16.02 kB / 0.8402 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.2019, allocations: 4 kB / 0.8403 GB, free: 0.9922 MB / 0.5762 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.0001375/0.202, allocations: 133.4 kB / 0.8404 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.2021, allocations: 15.91 kB / 0.8404 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.2024, allocations: 123 kB / 0.8405 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.2024, allocations: 4 kB / 0.8405 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2024, allocations: 4 kB / 0.8405 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2024, allocations: 0 / 0.8405 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.2026, allocations: 176.6 kB / 0.8407 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2026, allocations: 4 kB / 0.8407 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.165e-05/0.2027, allocations: 27.92 kB / 0.8407 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2027, allocations: 0 / 0.8407 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2027, allocations: 4 kB / 0.8407 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.2027, allocations: 4.062 kB / 0.8407 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2027, allocations: 4.172 kB / 0.8407 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.2031, allocations: 186.5 kB / 0.8409 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.2032, allocations: 11.95 kB / 0.8409 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.2032, allocations: 7.984 kB / 0.8409 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.2033, allocations: 8 kB / 0.8409 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.2034, allocations: 11.98 kB / 0.8409 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.2034, allocations: 7.984 kB / 0.841 GB, free: 196 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001849/0.2036, allocations: 157.1 kB / 0.8411 GB, free: 40 kB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2036, allocations: 0 / 0.8411 GB, free: 40 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000357/0.2039, allocations: 47.86 kB / 0.8411 GB, free: 15.99 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.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.002738/0.2067, allocations: 1.147 MB / 0.8423 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.207, allocations: 99.86 kB / 0.8424 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.207, allocations: 0 / 0.8424 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.2072, allocations: 43.92 kB / 0.8424 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.2075, allocations: 27.97 kB / 0.8424 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.2102, allocations: 1.77 MB / 0.8442 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.2103, allocations: 101.2 kB / 0.8443 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.2104, allocations: 28.91 kB / 0.8443 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2105, allocations: 51.34 kB / 0.8443 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.2105, allocations: 0 / 0.8443 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.239, allocations: 4.814 MB / 0.849 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.69, allocations: 8.641 kB / 0.849 GB, free: 8.062 MB / 0.5919 GB " [Timeout remaining time 648] (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: 16.134827094036154] Failed to read output from testmodel.py, exit status != 0: 11.913176635978743 11.940761042 11.739099849 Calling exit ...