Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001145/0.001145, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00123/0.00123, allocations: 195.5 kB / 16.25 MB, free: 6.617 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7366/0.7366, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 60.53 kB / 0.5013 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3723, allocations: 80.2 MB / 0.5796 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003184/0.3755, allocations: 1.726 MB / 0.5813 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3775, allocations: 1.472 MB / 0.5827 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3776, allocations: 1.594 kB / 0.5827 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.378, allocations: 33.88 kB / 0.5828 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.3782, allocations: 59.02 kB / 0.5828 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3786, allocations: 104.2 kB / 0.5829 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3788, allocations: 126.7 kB / 0.583 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.3789, allocations: 11.5 kB / 0.5831 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.379, allocations: 61.77 kB / 0.5831 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.3792, allocations: 52.3 kB / 0.5832 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.3792, allocations: 6.156 kB / 0.5832 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.3794, allocations: 64.8 kB / 0.5832 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.3795, allocations: 35.33 kB / 0.5833 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.3795, allocations: 41.2 kB / 0.5833 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.3798, allocations: 141.1 kB / 0.5834 GB, free: 1.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3798, allocations: 0.6094 kB / 0.5834 GB, free: 1.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3798, allocations: 0 / 0.5834 GB, free: 1.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3798, allocations: 0.9688 kB / 0.5834 GB, free: 1.965 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.0006006/0.3805, allocations: 446 kB / 0.5839 GB, free: 1.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3805, allocations: 9.938 kB / 0.5839 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.3806, allocations: 22.47 kB / 0.5839 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.3808, allocations: 217.5 kB / 0.5841 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3808, allocations: 2.25 kB / 0.5841 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3808, allocations: 10.16 kB / 0.5841 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.3811, allocations: 96.16 kB / 0.5842 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3811, allocations: 0 / 0.5842 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3811, allocations: 9.062 kB / 0.5842 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3811, allocations: 1 kB / 0.5842 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.3813, allocations: 51.38 kB / 0.5843 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.3815, allocations: 210.6 kB / 0.5845 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.3818, allocations: 116.8 kB / 0.5846 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3819, allocations: 50.73 kB / 0.5846 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.3819, allocations: 6.734 kB / 0.5846 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.3822, allocations: 111.9 kB / 0.5847 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 2.023e-06/0.3822, allocations: 1.906 kB / 0.5847 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004779/0.3827, allocations: 165.4 kB / 0.5849 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3828, allocations: 136.5 kB / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.3829, allocations: 170.5 kB / 0.5852 GB, free: 412 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3829, allocations: 31.23 kB / 0.5852 GB, free: 376 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.383, allocations: 100.3 kB / 0.5853 GB, free: 280 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.383, allocations: 25.36 kB / 0.5853 GB, free: 260 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.3831, allocations: 27.17 kB / 0.5854 GB, free: 236 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.3832, allocations: 322.6 kB / 0.5857 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3833, allocations: 36.05 kB / 0.5857 GB, free: 15.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3834, allocations: 60.77 kB / 0.5858 GB, free: 15.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.3837, allocations: 100.3 kB / 0.5859 GB, free: 15.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3837, allocations: 1 kB / 0.5859 GB, free: 15.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003244/0.384, allocations: 137.1 kB / 0.586 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.384, allocations: 5.188 kB / 0.586 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.384, allocations: 1.531 kB / 0.586 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3841, allocations: 1.281 kB / 0.586 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3842, allocations: 24.44 kB / 0.586 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3842, allocations: 2.406 kB / 0.586 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.3843, allocations: 8.188 kB / 0.586 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3843, allocations: 3.922 kB / 0.586 GB, free: 15.72 MB / 446.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.0001173/0.3844, allocations: 133.6 kB / 0.5862 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.3845, allocations: 18.5 kB / 0.5862 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.3845, allocations: 17.22 kB / 0.5862 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3846, allocations: 1.375 kB / 0.5862 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3846, allocations: 5.266 kB / 0.5862 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3846, allocations: 1.656 kB / 0.5862 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.3848, allocations: 209.1 kB / 0.5864 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3848, allocations: 1.406 kB / 0.5864 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.3849, allocations: 17.16 kB / 0.5864 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3849, allocations: 9.875 kB / 0.5864 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3849, allocations: 2.312 kB / 0.5864 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3849, allocations: 5.953 kB / 0.5864 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3849, allocations: 1.469 kB / 0.5864 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.3853, allocations: 169.9 kB / 0.5866 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.3853, allocations: 86.88 kB / 0.5867 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.3854, allocations: 5.938 kB / 0.5867 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.3855, allocations: 11.69 kB / 0.5867 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.3855, allocations: 10.2 kB / 0.5867 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.3855, allocations: 10.23 kB / 0.5867 GB, free: 15.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3857, allocations: 134.6 kB / 0.5869 GB, free: 15.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3857, allocations: 0 / 0.5869 GB, free: 15.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.386, allocations: 32.45 kB / 0.5869 GB, free: 15 MB / 446.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.001025/0.387, allocations: 439.8 kB / 0.5873 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.3873, allocations: 94.03 kB / 0.5874 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3873, allocations: 1.344 kB / 0.5874 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.3875, allocations: 39.08 kB / 0.5874 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3878, allocations: 35.92 kB / 0.5875 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.3884, allocations: 259.3 kB / 0.5877 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3888, allocations: 0.7065 MB / 0.5884 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.626e-05/0.3889, allocations: 24.62 kB / 0.5884 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.3889, allocations: 22.89 kB / 0.5884 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3889, allocations: 4 kB / 0.5884 GB, free: 13.85 MB / 446.1 MB Notification: Performance of Templates: time 0.005986/0.3949, allocations: 1.979 MB / 0.5904 GB, free: 13.65 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)