Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00148/0.00148, allocations: 116.2 kB / 17.09 MB, free: 6.012 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.001648/0.001648, allocations: 192.7 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7613/0.7613, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.84 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1424, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.003503/0.146, allocations: 1.659 MB / 0.6343 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.1485, allocations: 1.51 MB / 0.6358 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1487, allocations: 0 / 0.6358 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.149, allocations: 35.77 kB / 0.6359 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.1494, allocations: 67.61 kB / 0.6359 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1498, allocations: 117.7 kB / 0.636 GB, free: 1.012 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.1501, allocations: 135.6 kB / 0.6362 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.1502, allocations: 9.062 kB / 0.6362 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1503, allocations: 59.72 kB / 0.6362 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007202/0.1511, allocations: 47.77 kB / 0.6363 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.1511, allocations: 8 kB / 0.6363 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.1513, allocations: 63.95 kB / 0.6363 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.1514, allocations: 23.92 kB / 0.6364 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.1515, allocations: 43.67 kB / 0.6364 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1518, allocations: 151.5 kB / 0.6366 GB, free: 492 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1518, allocations: 4 kB / 0.6366 GB, free: 488 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1518, allocations: 0 / 0.6366 GB, free: 488 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1518, allocations: 0 / 0.6366 GB, free: 488 kB / 478.1 MB 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.0007103/0.1525, allocations: 434.9 kB / 0.637 GB, free: 4 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.1526, allocations: 12.08 kB / 0.637 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.1527, allocations: 12.84 kB / 0.637 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.153, allocations: 228.4 kB / 0.6372 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1531, allocations: 384 / 0.6372 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1531, allocations: 16.06 kB / 0.6372 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1533, allocations: 97.02 kB / 0.6373 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1534, allocations: 4 kB / 0.6373 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.1534, allocations: 4 kB / 0.6373 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1534, allocations: 3.984 kB / 0.6373 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.1536, allocations: 55.89 kB / 0.6374 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.1539, allocations: 211.4 kB / 0.6376 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.1541, allocations: 115.8 kB / 0.6377 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1543, allocations: 50.56 kB / 0.6377 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.1543, allocations: 3.984 kB / 0.6377 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.1546, allocations: 113.9 kB / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.1546, allocations: 0 / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005163/0.1551, allocations: 161.4 kB / 0.638 GB, free: 14.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.1552, allocations: 128.5 kB / 0.6381 GB, free: 14.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.1554, allocations: 178.5 kB / 0.6383 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1554, allocations: 33.7 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.1555, allocations: 104.1 kB / 0.6384 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.1555, allocations: 23.64 kB / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.1556, allocations: 29.7 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1557, allocations: 322.8 kB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1558, allocations: 27.98 kB / 0.6388 GB, free: 13.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.156, allocations: 72.2 kB / 0.6389 GB, free: 13.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1562, allocations: 99.33 kB / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1562, allocations: 0 / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002978/0.1565, allocations: 133.5 kB / 0.6391 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1565, allocations: 4 kB / 0.6391 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1565, allocations: 4 kB / 0.6391 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1566, allocations: 0 / 0.6391 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1567, allocations: 23.92 kB / 0.6391 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1567, allocations: 0 / 0.6391 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.1568, allocations: 19.98 kB / 0.6392 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1568, allocations: 4 kB / 0.6392 GB, free: 13.48 MB / 494.1 MB 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.0001135/0.157, allocations: 132 kB / 0.6393 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.157, allocations: 7.906 kB / 0.6393 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.157, allocations: 17.41 kB / 0.6393 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1571, allocations: 0 / 0.6393 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1571, allocations: 4 kB / 0.6393 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1571, allocations: 3.938 kB / 0.6393 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1573, allocations: 205.5 kB / 0.6395 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1573, allocations: 8 kB / 0.6395 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-05/0.1574, allocations: 19.92 kB / 0.6395 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1574, allocations: 4 kB / 0.6395 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1574, allocations: 3.984 kB / 0.6396 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1574, allocations: 0 / 0.6396 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1574, allocations: 4 kB / 0.6396 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.1578, allocations: 162.6 kB / 0.6397 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.1578, allocations: 96.8 kB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.1579, allocations: 4 kB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.158, allocations: 7.984 kB / 0.6398 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.158, allocations: 4 kB / 0.6398 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.158, allocations: 11.98 kB / 0.6398 GB, free: 12.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1582, allocations: 132.2 kB / 0.64 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1582, allocations: 4 kB / 0.64 GB, free: 12.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1585, allocations: 27.98 kB / 0.64 GB, free: 12.53 MB / 494.1 MB 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.001145/0.1596, allocations: 450.5 kB / 0.6404 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.1599, allocations: 91.89 kB / 0.6405 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1599, allocations: 0 / 0.6405 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1601, allocations: 43.91 kB / 0.6405 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1604, allocations: 36.28 kB / 0.6406 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.161, allocations: 267 kB / 0.6408 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1613, allocations: 0.7041 MB / 0.6415 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.1613, allocations: 19.44 kB / 0.6415 GB, free: 11.05 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1614, allocations: 0 / 0.6415 GB, free: 11.05 MB / 494.1 MB Notification: Performance of Templates: time 0.004969/0.1663, allocations: 2.209 MB / 0.6437 GB, free: 8.848 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)