Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005386/0.005386, allocations: 102.2 kB / 15.73 MB, free: 6.469 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.001075/0.001075, allocations: 193.9 kB / 16.67 MB, free: 6.379 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 278.9 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 95.84 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1591, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002873/0.162, allocations: 1.678 MB / 0.768 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1642, allocations: 1.515 MB / 0.7695 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.1643, allocations: 4 kB / 0.7695 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1646, allocations: 35.77 kB / 0.7695 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.1649, allocations: 67.62 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1652, allocations: 111.6 kB / 0.7697 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1654, allocations: 119.6 kB / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1655, allocations: 17.09 kB / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1656, allocations: 59.7 kB / 0.7699 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007601/0.1663, allocations: 51.78 kB / 0.7699 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.1664, allocations: 4 kB / 0.7699 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.1666, allocations: 67.95 kB / 0.77 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.1667, allocations: 19.92 kB / 0.77 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.1667, allocations: 51.7 kB / 0.7701 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1671, allocations: 151.5 kB / 0.7702 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1671, allocations: 0 / 0.7702 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1671, allocations: 0 / 0.7702 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1671, allocations: 0 / 0.7702 GB, free: 4.461 MB / 0.5606 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.0006942/0.1678, allocations: 446.9 kB / 0.7706 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1678, allocations: 8.031 kB / 0.7707 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.1679, allocations: 16.75 kB / 0.7707 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1683, allocations: 227.9 kB / 0.7709 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1683, allocations: 4.375 kB / 0.7709 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1683, allocations: 4.125 kB / 0.7709 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1686, allocations: 105 kB / 0.771 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1686, allocations: 0 / 0.771 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1686, allocations: 0 / 0.771 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1686, allocations: 4 kB / 0.771 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1689, allocations: 51.89 kB / 0.771 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.1691, allocations: 203.5 kB / 0.7712 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.1695, allocations: 119.8 kB / 0.7714 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1696, allocations: 46.5 kB / 0.7714 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1697, allocations: 8 kB / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.17, allocations: 109.8 kB / 0.7715 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.17, allocations: 0 / 0.7715 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005976/0.1706, allocations: 173.5 kB / 0.7717 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.1707, allocations: 128.5 kB / 0.7718 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1709, allocations: 176.6 kB / 0.772 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1709, allocations: 25.7 kB / 0.772 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.171, allocations: 104.1 kB / 0.7721 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.171, allocations: 35.56 kB / 0.7721 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.1711, allocations: 21.7 kB / 0.7721 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1712, allocations: 327 kB / 0.7725 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1714, allocations: 31.98 kB / 0.7725 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1715, allocations: 64.27 kB / 0.7726 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1718, allocations: 95.38 kB / 0.7726 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1719, allocations: 0 / 0.7726 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003955/0.1723, allocations: 133.3 kB / 0.7728 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1723, allocations: 8 kB / 0.7728 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1723, allocations: 4.094 kB / 0.7728 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1723, allocations: 4 kB / 0.7728 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1725, allocations: 23.92 kB / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1725, allocations: 0 / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1726, allocations: 7.984 kB / 0.7728 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1726, allocations: 8 kB / 0.7728 GB, free: 1.469 MB / 0.5606 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 0.0001209/0.1728, allocations: 128.6 kB / 0.7729 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.1728, allocations: 19.8 kB / 0.773 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.1729, allocations: 21.59 kB / 0.773 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1729, allocations: 4 kB / 0.773 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1729, allocations: 3.938 kB / 0.773 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1729, allocations: 0 / 0.773 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.1731, allocations: 201.5 kB / 0.7732 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1731, allocations: 0 / 0.7732 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/0.1732, allocations: 19.92 kB / 0.7732 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1733, allocations: 320 / 0.7732 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1733, allocations: 4 kB / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1733, allocations: 7.984 kB / 0.7732 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1733, allocations: 4 kB / 0.7732 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.1737, allocations: 166.6 kB / 0.7734 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.1738, allocations: 96.86 kB / 0.7735 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.1738, allocations: 4 kB / 0.7735 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1739, allocations: 11.98 kB / 0.7735 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.174, allocations: 15.92 kB / 0.7735 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.174, allocations: 7.984 kB / 0.7735 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001425/0.1742, allocations: 132.2 kB / 0.7736 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1742, allocations: 0 / 0.7736 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000374/0.1746, allocations: 31.98 kB / 0.7737 GB, free: 0.5039 MB / 0.5606 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.001301/0.1759, allocations: 444.9 kB / 0.7741 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.1763, allocations: 83.89 kB / 0.7742 GB, free: 156 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1763, allocations: 0 / 0.7742 GB, free: 156 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.1765, allocations: 52.09 kB / 0.7742 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1768, allocations: 32.91 kB / 0.7743 GB, free: 76 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2904/0.4673, allocations: 224.2 kB / 0.7745 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.4674, allocations: 0.7048 MB / 0.7752 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.783e-05/0.4675, allocations: 24.34 kB / 0.7752 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.4676, allocations: 19.89 kB / 0.7752 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.4676, allocations: 0.7812 kB / 0.7752 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.004678/0.4723, allocations: 2.087 MB / 0.7772 GB, free: 14.18 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)