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.0009479/0.0009479, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 185 kB / 16.92 MB, free: 6.754 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7171/0.7171, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 12 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1592, allocations: 77.53 MB / 0.5599 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.001924/0.1611, allocations: 1.379 MB / 0.5613 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1633, allocations: 1.456 MB / 0.5627 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1634, allocations: 0 / 0.5627 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.1638, allocations: 35.83 kB / 0.5628 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.164, allocations: 55.77 kB / 0.5628 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.1644, allocations: 99.64 kB / 0.5629 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1646, allocations: 123.6 kB / 0.563 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.1647, allocations: 13.11 kB / 0.563 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1648, allocations: 47.72 kB / 0.5631 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1651, allocations: 51.81 kB / 0.5631 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.1651, allocations: 4 kB / 0.5631 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1653, allocations: 59.86 kB / 0.5632 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.1654, allocations: 27.89 kB / 0.5632 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.1654, allocations: 61.44 kB / 0.5633 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1657, allocations: 143.9 kB / 0.5634 GB, free: 5.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1658, allocations: 0 / 0.5634 GB, free: 5.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.1658, allocations: 0 / 0.5634 GB, free: 5.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1658, allocations: 4 kB / 0.5634 GB, free: 5.445 MB / 430.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.0007653/0.1665, allocations: 420.7 kB / 0.5638 GB, free: 4.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1666, allocations: 12.03 kB / 0.5638 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.1667, allocations: 8.844 kB / 0.5638 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.167, allocations: 231.8 kB / 0.5641 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.167, allocations: 384 / 0.5641 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.167, allocations: 12.12 kB / 0.5641 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.1673, allocations: 97.08 kB / 0.5642 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1673, allocations: 0 / 0.5642 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1673, allocations: 4 kB / 0.5642 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1673, allocations: 3.938 kB / 0.5642 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.1675, allocations: 63.95 kB / 0.5642 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.1678, allocations: 207.4 kB / 0.5644 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1681, allocations: 123.8 kB / 0.5645 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.1682, allocations: 50.56 kB / 0.5646 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1683, allocations: 15.92 kB / 0.5646 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.1686, allocations: 117.9 kB / 0.5647 GB, free: 3.891 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1686, allocations: 0 / 0.5647 GB, free: 3.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.000533/0.1691, allocations: 177.3 kB / 0.5649 GB, free: 3.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1692, allocations: 132.5 kB / 0.565 GB, free: 3.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1694, allocations: 180.4 kB / 0.5652 GB, free: 3.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1695, allocations: 29.64 kB / 0.5652 GB, free: 3.332 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.1695, allocations: 104.1 kB / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.1696, allocations: 19.72 kB / 0.5653 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.1696, allocations: 17.72 kB / 0.5653 GB, free: 3.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1698, allocations: 322.8 kB / 0.5657 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.1699, allocations: 35.97 kB / 0.5657 GB, free: 2.824 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.17, allocations: 68.27 kB / 0.5658 GB, free: 2.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.1703, allocations: 103.4 kB / 0.5659 GB, free: 2.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1703, allocations: 0 / 0.5659 GB, free: 2.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003246/0.1706, allocations: 153.4 kB / 0.566 GB, free: 2.473 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1706, allocations: 4 kB / 0.566 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.1707, allocations: 0 / 0.566 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1707, allocations: 4 kB / 0.566 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1708, allocations: 19.98 kB / 0.566 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1709, allocations: 4 kB / 0.566 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.879e-05/0.171, allocations: 19.83 kB / 0.5661 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.171, allocations: 0 / 0.5661 GB, free: 2.422 MB / 430.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.0001184/0.1711, allocations: 133.8 kB / 0.5662 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1711, allocations: 11.91 kB / 0.5662 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.1712, allocations: 17.58 kB / 0.5662 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1712, allocations: 4 kB / 0.5662 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1712, allocations: 3.938 kB / 0.5662 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1712, allocations: 0 / 0.5662 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1714, allocations: 201.5 kB / 0.5664 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1714, allocations: 0 / 0.5664 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.1715, allocations: 20.3 kB / 0.5664 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1715, allocations: 4 kB / 0.5664 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1715, allocations: 8 kB / 0.5664 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1715, allocations: 4 kB / 0.5664 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1716, allocations: 0 / 0.5664 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.1719, allocations: 182.5 kB / 0.5666 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.172, allocations: 96.91 kB / 0.5667 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.172, allocations: 0 / 0.5667 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.1721, allocations: 11.98 kB / 0.5667 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.1721, allocations: 11.98 kB / 0.5667 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1722, allocations: 8 kB / 0.5667 GB, free: 1.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1723, allocations: 140.7 kB / 0.5669 GB, free: 1.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1723, allocations: 4 kB / 0.5669 GB, free: 1.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1726, allocations: 31.98 kB / 0.5669 GB, free: 1.445 MB / 430.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.001151/0.1737, allocations: 451.3 kB / 0.5673 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1741, allocations: 95.88 kB / 0.5674 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1741, allocations: 0 / 0.5674 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1742, allocations: 52.09 kB / 0.5675 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1746, allocations: 33.44 kB / 0.5675 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.1751, allocations: 271 kB / 0.5678 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1755, allocations: 0.7043 MB / 0.5685 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.523e-05/0.1756, allocations: 20.88 kB / 0.5685 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.1756, allocations: 19.38 kB / 0.5685 GB, free: 15.94 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1756, allocations: 0 / 0.5685 GB, free: 15.94 MB / 446.1 MB Notification: Performance of Templates: time 0.004931/0.1806, allocations: 1.901 MB / 0.5704 GB, free: 14.06 MB / 446.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)