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.0008246/0.0008245, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008679/0.000868, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6641/0.6641, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002762, allocations: 9.344 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3356, allocations: 81.57 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.00146/0.3371, allocations: 1.365 MB / 0.5844 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3385, allocations: 1.401 MB / 0.5858 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.3386, allocations: 0.6562 kB / 0.5858 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.3388, allocations: 35.64 kB / 0.5858 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.339, allocations: 61.14 kB / 0.5859 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.3392, allocations: 89.47 kB / 0.5859 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3394, allocations: 109.4 kB / 0.5861 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.3394, allocations: 14.78 kB / 0.5861 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.799e-05/0.3395, allocations: 49.5 kB / 0.5861 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3396, allocations: 52.72 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3397, allocations: 2.688 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3398, allocations: 54.27 kB / 0.5862 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.3398, allocations: 22.38 kB / 0.5862 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.3399, allocations: 40.39 kB / 0.5863 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.34, allocations: 100.8 kB / 0.5864 GB, free: 1.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.34, allocations: 0 / 0.5864 GB, free: 1.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.34, allocations: 0.8125 kB / 0.5864 GB, free: 1.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.34, allocations: 0 / 0.5864 GB, free: 1.742 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.0004348/0.3405, allocations: 435 kB / 0.5868 GB, free: 1.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.3405, allocations: 9.094 kB / 0.5868 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3406, allocations: 18.75 kB / 0.5868 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3407, allocations: 215.1 kB / 0.587 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3408, allocations: 0.8125 kB / 0.587 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3408, allocations: 4.266 kB / 0.587 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.341, allocations: 106.6 kB / 0.5871 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.341, allocations: 3.938 kB / 0.5871 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.341, allocations: 1.25 kB / 0.5871 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.341, allocations: 5.375 kB / 0.5871 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.3412, allocations: 53.88 kB / 0.5872 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.3414, allocations: 215.5 kB / 0.5874 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3416, allocations: 119.6 kB / 0.5875 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3417, allocations: 50.14 kB / 0.5876 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3417, allocations: 6.891 kB / 0.5876 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.3419, allocations: 115.8 kB / 0.5877 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.3419, allocations: 0 / 0.5877 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004125/0.3424, allocations: 182.1 kB / 0.5878 GB, free: 480 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.3424, allocations: 131.1 kB / 0.588 GB, free: 320 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3425, allocations: 170.2 kB / 0.5881 GB, free: 200 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.3426, allocations: 32.02 kB / 0.5882 GB, free: 164 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.3426, allocations: 103.1 kB / 0.5883 GB, free: 64 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.3426, allocations: 26.11 kB / 0.5883 GB, free: 44 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.3426, allocations: 9.531 kB / 0.5883 GB, free: 36 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3427, allocations: 325.8 kB / 0.5886 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.945e-05/0.3429, allocations: 34.86 kB / 0.5886 GB, free: 15.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.343, allocations: 67.95 kB / 0.5887 GB, free: 15.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.3431, allocations: 44.73 kB / 0.5887 GB, free: 15.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3431, allocations: 0 / 0.5887 GB, free: 15.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002743/0.3434, allocations: 137 kB / 0.5889 GB, free: 15.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3434, allocations: 5.844 kB / 0.5889 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3434, allocations: 0.5938 kB / 0.5889 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3434, allocations: 2.438 kB / 0.5889 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3435, allocations: 25.78 kB / 0.5889 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3435, allocations: 1.859 kB / 0.5889 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.3436, allocations: 22.53 kB / 0.5889 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3436, allocations: 4 kB / 0.5889 GB, free: 15.56 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.768e-05/0.3437, allocations: 124.4 kB / 0.5891 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.3438, allocations: 10.38 kB / 0.5891 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.3438, allocations: 21.28 kB / 0.5891 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3438, allocations: 0.875 kB / 0.5891 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3438, allocations: 3.094 kB / 0.5891 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3438, allocations: 4.734 kB / 0.5891 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.344, allocations: 216.8 kB / 0.5893 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.344, allocations: 1.375 kB / 0.5893 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.3441, allocations: 15.8 kB / 0.5893 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3441, allocations: 0.875 kB / 0.5893 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3441, allocations: 6.531 kB / 0.5893 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3441, allocations: 6.078 kB / 0.5893 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3441, allocations: 1.406 kB / 0.5893 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.3444, allocations: 173.7 kB / 0.5895 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.3445, allocations: 99.16 kB / 0.5896 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3445, allocations: 7.578 kB / 0.5896 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.3446, allocations: 14 kB / 0.5896 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.3446, allocations: 6.859 kB / 0.5896 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3447, allocations: 4.969 kB / 0.5896 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3448, allocations: 139 kB / 0.5898 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3448, allocations: 3.938 kB / 0.5898 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.345, allocations: 27.95 kB / 0.5898 GB, free: 14.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008602/0.3459, allocations: 453.8 kB / 0.5902 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3461, allocations: 91 kB / 0.5903 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3462, allocations: 1.656 kB / 0.5903 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3463, allocations: 47.11 kB / 0.5904 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.3465, allocations: 30.59 kB / 0.5904 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.3469, allocations: 261.8 kB / 0.5906 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3472, allocations: 0.7063 MB / 0.5913 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.3473, allocations: 25.09 kB / 0.5913 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.3473, allocations: 18.86 kB / 0.5914 GB, free: 13.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3473, allocations: 0 / 0.5914 GB, free: 13.71 MB / 446.1 MB Notification: Performance of Templates: time 0.004311/0.3516, allocations: 1.866 MB / 0.5932 GB, free: 13.5 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)