Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001296/0.001296, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001367/0.001368, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8276/0.8276, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 0.506 GB, free: 8.352 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3379, allocations: 80.91 MB / 0.5851 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002671/0.3406, allocations: 1.678 MB / 0.5867 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3423, allocations: 1.497 MB / 0.5882 GB, free: 22.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.3424, allocations: 5.438 kB / 0.5882 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.3427, allocations: 41.48 kB / 0.5882 GB, free: 22.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.3429, allocations: 63.44 kB / 0.5883 GB, free: 22.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.3432, allocations: 115 kB / 0.5884 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.3434, allocations: 130.9 kB / 0.5885 GB, free: 22.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.3434, allocations: 7.469 kB / 0.5885 GB, free: 22.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3435, allocations: 63.45 kB / 0.5886 GB, free: 22.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3437, allocations: 41.44 kB / 0.5886 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.3438, allocations: 6.594 kB / 0.5886 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3439, allocations: 71.27 kB / 0.5887 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.3439, allocations: 24.73 kB / 0.5887 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.344, allocations: 47.31 kB / 0.5887 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.3442, allocations: 139.5 kB / 0.5889 GB, free: 22.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3442, allocations: 1.156 kB / 0.5889 GB, free: 22.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3442, allocations: 1.156 kB / 0.5889 GB, free: 22.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3442, allocations: 0 / 0.5889 GB, free: 22.39 MB / 446.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.000506/0.3447, allocations: 440 kB / 0.5893 GB, free: 21.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3448, allocations: 10.61 kB / 0.5893 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.3448, allocations: 14.75 kB / 0.5893 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.345, allocations: 223.2 kB / 0.5895 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.345, allocations: 13.5 kB / 0.5896 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3451, allocations: 8.094 kB / 0.5896 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3453, allocations: 97.27 kB / 0.5897 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.3453, allocations: 1.094 kB / 0.5897 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3453, allocations: 5.609 kB / 0.5897 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3453, allocations: 1.219 kB / 0.5897 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.3455, allocations: 52.36 kB / 0.5897 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.3456, allocations: 207.2 kB / 0.5899 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.3459, allocations: 116.1 kB / 0.59 GB, free: 21.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.346, allocations: 52.72 kB / 0.5901 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.346, allocations: 0 / 0.5901 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.3462, allocations: 116.1 kB / 0.5902 GB, free: 21.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3462, allocations: 1.188 kB / 0.5902 GB, free: 21.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004176/0.3467, allocations: 159.2 kB / 0.5903 GB, free: 20.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3467, allocations: 140.5 kB / 0.5905 GB, free: 20.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3468, allocations: 173.8 kB / 0.5906 GB, free: 20.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.3469, allocations: 33.64 kB / 0.5907 GB, free: 20.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.3469, allocations: 96.14 kB / 0.5908 GB, free: 20.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3469, allocations: 31.62 kB / 0.5908 GB, free: 20.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.347, allocations: 27.59 kB / 0.5908 GB, free: 20.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.509e-05/0.347, allocations: 326.8 kB / 0.5911 GB, free: 20.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.139e-05/0.3471, allocations: 28.61 kB / 0.5911 GB, free: 20 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.51e-05/0.3472, allocations: 65.52 kB / 0.5912 GB, free: 19.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3474, allocations: 95.06 kB / 0.5913 GB, free: 19.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3474, allocations: 0 / 0.5913 GB, free: 19.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002415/0.3477, allocations: 142.9 kB / 0.5914 GB, free: 19.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3477, allocations: 6.188 kB / 0.5914 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3477, allocations: 4.625 kB / 0.5914 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3477, allocations: 3.938 kB / 0.5915 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3478, allocations: 21.27 kB / 0.5915 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3478, allocations: 0 / 0.5915 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.3479, allocations: 13.45 kB / 0.5915 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.3479, allocations: 4 kB / 0.5915 GB, free: 19.63 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 7.179e-05/0.348, allocations: 129.2 kB / 0.5916 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.348, allocations: 11.81 kB / 0.5916 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.3481, allocations: 21.39 kB / 0.5916 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3481, allocations: 192 / 0.5916 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3481, allocations: 0 / 0.5916 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3481, allocations: 11.88 kB / 0.5917 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.3482, allocations: 205.5 kB / 0.5919 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3482, allocations: 0 / 0.5919 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.3483, allocations: 11.98 kB / 0.5919 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3483, allocations: 4.5 kB / 0.5919 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3483, allocations: 4.531 kB / 0.5919 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3483, allocations: 4 kB / 0.5919 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3483, allocations: 0.5312 kB / 0.5919 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.3486, allocations: 169.7 kB / 0.592 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.3486, allocations: 92.91 kB / 0.5921 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3487, allocations: 6.312 kB / 0.5921 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.3487, allocations: 12.06 kB / 0.5921 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3488, allocations: 7.984 kB / 0.5922 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3488, allocations: 0 / 0.5922 GB, free: 18.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.467e-05/0.3489, allocations: 149.8 kB / 0.5923 GB, free: 18.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3489, allocations: 0 / 0.5923 GB, free: 18.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.3491, allocations: 28 kB / 0.5923 GB, free: 18.7 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.001476/0.3506, allocations: 447.3 kB / 0.5927 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.3509, allocations: 92.94 kB / 0.5928 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3509, allocations: 0 / 0.5928 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.351, allocations: 45.19 kB / 0.5929 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3513, allocations: 30.83 kB / 0.5929 GB, free: 18.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.3517, allocations: 267.3 kB / 0.5932 GB, free: 18.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3518, allocations: 0.705 MB / 0.5939 GB, free: 17.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.3519, allocations: 27.86 kB / 0.5939 GB, free: 17.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3519, allocations: 4.844 kB / 0.5939 GB, free: 17.25 MB / 446.1 MB Notification: Performance of Templates: time 0.003445/0.3553, allocations: 2.19 MB / 0.596 GB, free: 15.11 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)