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.001241/0.001241, allocations: 112.3 kB / 16.41 MB, free: 6.492 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.001179/0.001179, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.743/0.743, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 62.72 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.156, allocations: 76.19 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002752/0.1588, allocations: 1.661 MB / 0.6337 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1607, allocations: 1.522 MB / 0.6352 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.458e-05/0.1608, allocations: 3.938 kB / 0.6352 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.161, allocations: 35.77 kB / 0.6352 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.1613, allocations: 55.7 kB / 0.6353 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1615, allocations: 117.7 kB / 0.6354 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1618, allocations: 131.5 kB / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.1618, allocations: 9.109 kB / 0.6355 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1619, allocations: 67.7 kB / 0.6356 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1622, allocations: 51.77 kB / 0.6356 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1622, allocations: 4 kB / 0.6356 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1623, allocations: 63.97 kB / 0.6357 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.1624, allocations: 23.86 kB / 0.6357 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1624, allocations: 47.72 kB / 0.6358 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1627, allocations: 143.5 kB / 0.6359 GB, free: 496 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.1627, allocations: 3.984 kB / 0.6359 GB, free: 492 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1627, allocations: 0 / 0.6359 GB, free: 492 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1627, allocations: 0 / 0.6359 GB, free: 492 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.0006408/0.1634, allocations: 442.9 kB / 0.6363 GB, free: 0 / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1634, allocations: 12.08 kB / 0.6363 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.1635, allocations: 8.844 kB / 0.6363 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1638, allocations: 224.4 kB / 0.6366 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1638, allocations: 4.375 kB / 0.6366 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1638, allocations: 4.125 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.1641, allocations: 101.1 kB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1641, allocations: 0 / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1641, allocations: 7.938 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1641, allocations: 0 / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1643, allocations: 55.83 kB / 0.6367 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.1645, allocations: 211.4 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.1648, allocations: 115.8 kB / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1649, allocations: 58.55 kB / 0.6371 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.165, allocations: 4 kB / 0.6371 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.1652, allocations: 109.9 kB / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1652, allocations: 0 / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000481/0.1657, allocations: 169.3 kB / 0.6374 GB, free: 14.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.1658, allocations: 128.5 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.1659, allocations: 174.4 kB / 0.6377 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.166, allocations: 29.7 kB / 0.6377 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.166, allocations: 104.1 kB / 0.6378 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.1661, allocations: 31.89 kB / 0.6378 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.1661, allocations: 25.7 kB / 0.6378 GB, free: 14.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1662, allocations: 322.8 kB / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.1663, allocations: 27.98 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1665, allocations: 68.27 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.1667, allocations: 99.36 kB / 0.6383 GB, free: 13.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1667, allocations: 0 / 0.6383 GB, free: 13.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002673/0.167, allocations: 137.4 kB / 0.6385 GB, free: 13.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.167, allocations: 4 kB / 0.6385 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.167, allocations: 0 / 0.6385 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.167, allocations: 4 kB / 0.6385 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1671, allocations: 19.98 kB / 0.6385 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1671, allocations: 3.984 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.1672, allocations: 11.91 kB / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1672, allocations: 4 kB / 0.6385 GB, free: 13.49 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 9.377e-05/0.1673, allocations: 135.8 kB / 0.6386 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1674, allocations: 11.91 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.1674, allocations: 17.41 kB / 0.6387 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1674, allocations: 7.984 kB / 0.6387 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1674, allocations: 0 / 0.6387 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1674, allocations: 0 / 0.6387 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1676, allocations: 205.8 kB / 0.6389 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1676, allocations: 7.938 kB / 0.6389 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/0.1677, allocations: 15.98 kB / 0.6389 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1677, allocations: 192 / 0.6389 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1677, allocations: 8 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1677, allocations: 3.938 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1677, allocations: 0 / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.168, allocations: 166.6 kB / 0.6391 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.1681, allocations: 96.86 kB / 0.6392 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1681, allocations: 11.98 kB / 0.6392 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1682, allocations: 7.984 kB / 0.6392 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1682, allocations: 11.98 kB / 0.6392 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1682, allocations: 4 kB / 0.6392 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.1683, allocations: 128.2 kB / 0.6393 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1683, allocations: 0 / 0.6393 GB, free: 12.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1686, allocations: 31.98 kB / 0.6393 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.0008846/0.1695, allocations: 447.2 kB / 0.6398 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.1698, allocations: 87.88 kB / 0.6398 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1698, allocations: 4.188 kB / 0.6399 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1699, allocations: 43.92 kB / 0.6399 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.000271/0.1702, allocations: 38.58 kB / 0.6399 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.1706, allocations: 225 kB / 0.6401 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.1709, allocations: 0.7081 MB / 0.6408 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.172e-05/0.171, allocations: 16.88 kB / 0.6409 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.171, allocations: 19.44 kB / 0.6409 GB, free: 11.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.171, allocations: 0 / 0.6409 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Templates: time 0.004264/0.1753, allocations: 2.063 MB / 0.6429 GB, free: 9.027 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)