Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004846/0.004846, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 197.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 222.5 MB, free: 4.406 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.84 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1899, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002691/0.1927, allocations: 1.684 MB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1945, allocations: 1.426 MB / 0.8311 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.1946, allocations: 3.938 kB / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1948, allocations: 47.77 kB / 0.8311 GB, free: 13.03 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.1951, allocations: 55.7 kB / 0.8312 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1954, allocations: 95.31 kB / 0.8313 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.1955, allocations: 127.6 kB / 0.8314 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.1956, allocations: 9.125 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1957, allocations: 55.72 kB / 0.8314 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1959, allocations: 55.69 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1959, allocations: 8 kB / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.196, allocations: 67.97 kB / 0.8316 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.1961, allocations: 19.92 kB / 0.8316 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.1961, allocations: 47.72 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1964, allocations: 147.6 kB / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1964, allocations: 4 kB / 0.8318 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.925e-06/0.1964, allocations: 0 / 0.8318 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1964, allocations: 3.938 kB / 0.8318 GB, free: 12.35 MB / 0.6544 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.0005931/0.197, allocations: 438.8 kB / 0.8322 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.197, allocations: 8.031 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.1971, allocations: 24.75 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.1973, allocations: 208.1 kB / 0.8324 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1974, allocations: 4.375 kB / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1974, allocations: 12.11 kB / 0.8324 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1976, allocations: 101 kB / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.1976, allocations: 4 kB / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1976, allocations: 0 / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1976, allocations: 0 / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1978, allocations: 51.89 kB / 0.8326 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.198, allocations: 211.4 kB / 0.8328 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1983, allocations: 119.7 kB / 0.8329 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1984, allocations: 54.55 kB / 0.833 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1984, allocations: 0 / 0.833 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.1986, allocations: 121.8 kB / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1987, allocations: 0 / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004525/0.1991, allocations: 153.7 kB / 0.8332 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.1992, allocations: 136.5 kB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1993, allocations: 181.1 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1994, allocations: 29.7 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.1994, allocations: 100.1 kB / 0.8337 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1995, allocations: 27.64 kB / 0.8337 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.1995, allocations: 25.72 kB / 0.8337 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1996, allocations: 322.8 kB / 0.834 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.1997, allocations: 35.97 kB / 0.834 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1999, allocations: 64.22 kB / 0.8341 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.2, allocations: 99.36 kB / 0.8342 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2001, allocations: 0 / 0.8342 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002649/0.2003, allocations: 129.3 kB / 0.8343 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2003, allocations: 8 kB / 0.8343 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2004, allocations: 0 / 0.8343 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2004, allocations: 3.984 kB / 0.8343 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2005, allocations: 28.08 kB / 0.8344 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.2005, allocations: 8.25 kB / 0.8344 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.2006, allocations: 4 kB / 0.8344 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2006, allocations: 8 kB / 0.8344 GB, free: 9.363 MB / 0.6544 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 9.959e-05/0.2007, allocations: 129.8 kB / 0.8345 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.2007, allocations: 15.81 kB / 0.8345 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.2008, allocations: 17.39 kB / 0.8345 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2008, allocations: 0 / 0.8345 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2008, allocations: 4 kB / 0.8345 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2008, allocations: 4 kB / 0.8345 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.201, allocations: 205.5 kB / 0.8347 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.201, allocations: 0 / 0.8347 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.476e-05/0.201, allocations: 11.98 kB / 0.8348 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2011, allocations: 4 kB / 0.8348 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2011, allocations: 4 kB / 0.8348 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2011, allocations: 11.88 kB / 0.8348 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2011, allocations: 0 / 0.8348 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.2014, allocations: 166.5 kB / 0.8349 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.2014, allocations: 89.14 kB / 0.835 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.2014, allocations: 0 / 0.835 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.2015, allocations: 19.92 kB / 0.835 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.2016, allocations: 15.97 kB / 0.8351 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.2016, allocations: 0 / 0.8351 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001056/0.2017, allocations: 139.5 kB / 0.8352 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2017, allocations: 0 / 0.8352 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002267/0.2019, allocations: 28 kB / 0.8352 GB, free: 8.414 MB / 0.6544 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.0009476/0.2029, allocations: 449.3 kB / 0.8356 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.2032, allocations: 83.88 kB / 0.8357 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2032, allocations: 3.938 kB / 0.8357 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.2033, allocations: 39.92 kB / 0.8358 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.2036, allocations: 39.47 kB / 0.8358 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.204, allocations: 248.8 kB / 0.836 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2043, allocations: 0.704 MB / 0.8367 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.855e-05/0.2044, allocations: 25.11 kB / 0.8367 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.2044, allocations: 23.42 kB / 0.8368 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.2044, allocations: 0 / 0.8368 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of Templates: time 0.004451/0.2089, allocations: 2.034 MB / 0.8388 GB, free: 4.906 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)