Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6986/0.6986, allocations: 128.7 MB / 144.5 MB, free: 1.387 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 185.8 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205 MB / 408.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009504/0.0009501, allocations: 98.28 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 52.14 kB / 0.558 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1574, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.003206/0.1606, allocations: 1.73 MB / 0.6334 GB, free: 31.3 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1624, allocations: 1.406 MB / 0.6347 GB, free: 29.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1626, allocations: 4 kB / 0.6347 GB, free: 29.88 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.1629, allocations: 35.83 kB / 0.6348 GB, free: 29.85 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1632, allocations: 55.75 kB / 0.6348 GB, free: 29.79 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.1639, allocations: 78.61 kB / 0.6349 GB, free: 29.72 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.1643, allocations: 127.6 kB / 0.635 GB, free: 29.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.428e-05/0.1644, allocations: 5.125 kB / 0.635 GB, free: 29.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1646, allocations: 55.66 kB / 0.6351 GB, free: 29.54 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1648, allocations: 51.77 kB / 0.6351 GB, free: 29.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.1648, allocations: 4 kB / 0.6351 GB, free: 29.48 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.1651, allocations: 67.95 kB / 0.6352 GB, free: 29.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.1652, allocations: 19.92 kB / 0.6352 GB, free: 29.39 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.417e-05/0.1653, allocations: 43.66 kB / 0.6353 GB, free: 29.35 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.1656, allocations: 143.9 kB / 0.6354 GB, free: 29.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1657, allocations: 0 / 0.6354 GB, free: 29.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1657, allocations: 0 / 0.6354 GB, free: 29.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1657, allocations: 0 / 0.6354 GB, free: 29.21 MB / 442.7 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.0008697/0.1666, allocations: 442.9 kB / 0.6358 GB, free: 28.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.1666, allocations: 16.02 kB / 0.6358 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.1667, allocations: 8.844 kB / 0.6359 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1671, allocations: 224 kB / 0.6361 GB, free: 28.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1671, allocations: 4.375 kB / 0.6361 GB, free: 28.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1671, allocations: 8.125 kB / 0.6361 GB, free: 28.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.1675, allocations: 101 kB / 0.6362 GB, free: 28.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1676, allocations: 4 kB / 0.6362 GB, free: 28.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1676, allocations: 0 / 0.6362 GB, free: 28.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1676, allocations: 0 / 0.6362 GB, free: 28.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.1679, allocations: 51.89 kB / 0.6362 GB, free: 28.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.1683, allocations: 207.5 kB / 0.6364 GB, free: 28.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.1687, allocations: 119.7 kB / 0.6365 GB, free: 27.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.1689, allocations: 58.53 kB / 0.6366 GB, free: 27.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.169, allocations: 4 kB / 0.6366 GB, free: 27.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/0.1694, allocations: 109.9 kB / 0.6367 GB, free: 27.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/0.1695, allocations: 0 / 0.6367 GB, free: 27.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008191/0.1703, allocations: 157.6 kB / 0.6369 GB, free: 27.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.1704, allocations: 128.5 kB / 0.637 GB, free: 27.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.1706, allocations: 186.7 kB / 0.6372 GB, free: 27.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1707, allocations: 33.7 kB / 0.6372 GB, free: 27.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.1708, allocations: 104.1 kB / 0.6373 GB, free: 27.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.1708, allocations: 27.67 kB / 0.6373 GB, free: 26.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/0.1709, allocations: 33.86 kB / 0.6373 GB, free: 26.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.171, allocations: 322.8 kB / 0.6377 GB, free: 26.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.1712, allocations: 27.98 kB / 0.6377 GB, free: 26.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.1714, allocations: 60.27 kB / 0.6377 GB, free: 26.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1718, allocations: 103.6 kB / 0.6378 GB, free: 26.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1718, allocations: 0 / 0.6378 GB, free: 26.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004092/0.1722, allocations: 137.3 kB / 0.638 GB, free: 26.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1723, allocations: 8.094 kB / 0.638 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1723, allocations: 0 / 0.638 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1723, allocations: 4 kB / 0.638 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.1725, allocations: 23.92 kB / 0.638 GB, free: 26.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1725, allocations: 3.984 kB / 0.638 GB, free: 26.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1726, allocations: 8 kB / 0.638 GB, free: 26.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1727, allocations: 4 kB / 0.638 GB, free: 26.21 MB / 442.7 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.0001114/0.1728, allocations: 133.7 kB / 0.6381 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.1728, allocations: 11.81 kB / 0.6382 GB, free: 26.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.1729, allocations: 17.41 kB / 0.6382 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1729, allocations: 4 kB / 0.6382 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1729, allocations: 3.984 kB / 0.6382 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1729, allocations: 0 / 0.6382 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1731, allocations: 201.5 kB / 0.6384 GB, free: 25.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1732, allocations: 4 kB / 0.6384 GB, free: 25.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.896e-05/0.1733, allocations: 11.94 kB / 0.6384 GB, free: 25.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1733, allocations: 3.984 kB / 0.6384 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.1733, allocations: 8 kB / 0.6384 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1733, allocations: 3.938 kB / 0.6384 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1733, allocations: 4 kB / 0.6384 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007286/0.1741, allocations: 0.7659 MB / 0.6392 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.1741, allocations: 85.02 kB / 0.6392 GB, free: 24.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.1742, allocations: 8 kB / 0.6392 GB, free: 24.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1743, allocations: 12.05 kB / 0.6393 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.1744, allocations: 11.92 kB / 0.6393 GB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1744, allocations: 4.188 kB / 0.6393 GB, free: 24.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1745, allocations: 127.2 kB / 0.6394 GB, free: 24.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1745, allocations: 3.938 kB / 0.6394 GB, free: 24.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006277/0.1752, allocations: 35.98 kB / 0.6394 GB, free: 24.62 MB / 442.7 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.001444/0.1766, allocations: 456.3 kB / 0.6399 GB, free: 24.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.177, allocations: 91.94 kB / 0.64 GB, free: 24.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.177, allocations: 4.062 kB / 0.64 GB, free: 24.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1772, allocations: 35.98 kB / 0.64 GB, free: 24.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.1777, allocations: 34.62 kB / 0.64 GB, free: 24.18 MB / 442.7 MB Error: Failed to lookup URI (is the package loaded?) modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.1785, allocations: 397.5 kB / 0.6404 GB, free: 23.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.1786, allocations: 0.7043 MB / 0.6411 GB, free: 23.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1787, allocations: 24.86 kB / 0.6411 GB, free: 23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.1788, allocations: 15.44 kB / 0.6411 GB, free: 22.98 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1788, allocations: 0 / 0.6411 GB, free: 22.98 MB / 442.7 MB Notification: Performance of Templates: time 0.006074/0.1849, allocations: 2.018 MB / 0.6431 GB, free: 20.98 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)