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.001285/0.001285, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001351/0.001351, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8005/0.8005, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.398, allocations: 80.19 MB / 0.5815 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002845/0.4009, allocations: 1.678 MB / 0.5831 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.4027, allocations: 1.505 MB / 0.5846 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.4028, allocations: 1.781 kB / 0.5846 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.4031, allocations: 47.02 kB / 0.5847 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.4034, allocations: 65.86 kB / 0.5847 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.4036, allocations: 118.9 kB / 0.5848 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.4038, allocations: 126.3 kB / 0.585 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.4039, allocations: 12.67 kB / 0.585 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.404, allocations: 48.53 kB / 0.585 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007719/0.4048, allocations: 54.42 kB / 0.5851 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.4048, allocations: 5.719 kB / 0.5851 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.4049, allocations: 70.8 kB / 0.5851 GB, free: 25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.405, allocations: 17.27 kB / 0.5852 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.4051, allocations: 45.05 kB / 0.5852 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.4053, allocations: 151.6 kB / 0.5853 GB, free: 24.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4053, allocations: 1.094 kB / 0.5853 GB, free: 24.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4053, allocations: 0 / 0.5853 GB, free: 24.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.4053, allocations: 0 / 0.5853 GB, free: 24.86 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.0005368/0.4059, allocations: 437.4 kB / 0.5858 GB, free: 24.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4059, allocations: 9.25 kB / 0.5858 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.406, allocations: 19.53 kB / 0.5858 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.4062, allocations: 218.9 kB / 0.586 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4063, allocations: 1.688 kB / 0.586 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.4063, allocations: 7.562 kB / 0.586 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.4065, allocations: 103 kB / 0.5861 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4065, allocations: 3.938 kB / 0.5861 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.4065, allocations: 1.375 kB / 0.5861 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4066, allocations: 2.312 kB / 0.5861 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.4067, allocations: 53.31 kB / 0.5862 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.4069, allocations: 209.8 kB / 0.5864 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.4071, allocations: 117.6 kB / 0.5865 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.4073, allocations: 53.34 kB / 0.5865 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.4073, allocations: 1.094 kB / 0.5865 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.4075, allocations: 107.8 kB / 0.5866 GB, free: 23.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.4075, allocations: 0 / 0.5866 GB, free: 23.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004506/0.408, allocations: 172.9 kB / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.408, allocations: 131.7 kB / 0.5869 GB, free: 23.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.4082, allocations: 178.5 kB / 0.5871 GB, free: 23.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.4082, allocations: 27.14 kB / 0.5871 GB, free: 23.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.4083, allocations: 100.2 kB / 0.5872 GB, free: 23.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.4083, allocations: 28.45 kB / 0.5872 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.4083, allocations: 22.34 kB / 0.5873 GB, free: 23.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.4084, allocations: 327.5 kB / 0.5876 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.4085, allocations: 29.06 kB / 0.5876 GB, free: 22.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.4086, allocations: 71.89 kB / 0.5877 GB, free: 22.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.4088, allocations: 94.66 kB / 0.5878 GB, free: 22.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4088, allocations: 0 / 0.5878 GB, free: 22.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002717/0.4091, allocations: 140.1 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4091, allocations: 6.594 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4091, allocations: 1.031 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4091, allocations: 2 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4093, allocations: 20.58 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4093, allocations: 1.062 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.4094, allocations: 16.39 kB / 0.5879 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.4094, allocations: 2.5 kB / 0.5879 GB, free: 22.45 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 8.476e-05/0.4095, allocations: 131.4 kB / 0.5881 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.4095, allocations: 13.84 kB / 0.5881 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.4096, allocations: 27.36 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4096, allocations: 1.469 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4096, allocations: 1.469 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4096, allocations: 0 / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.4097, allocations: 209 kB / 0.5883 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4097, allocations: 1.281 kB / 0.5883 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.4098, allocations: 16.02 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.4098, allocations: 0 / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4098, allocations: 3.281 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4098, allocations: 1.094 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4098, allocations: 1.938 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.4101, allocations: 173 kB / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.4102, allocations: 89.62 kB / 0.5886 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.4102, allocations: 6.062 kB / 0.5886 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.4103, allocations: 6.844 kB / 0.5886 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.4103, allocations: 11.92 kB / 0.5886 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.4104, allocations: 8.812 kB / 0.5886 GB, free: 21.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.361e-05/0.4105, allocations: 132.4 kB / 0.5887 GB, free: 21.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4105, allocations: 2.469 kB / 0.5887 GB, free: 21.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.4107, allocations: 30.97 kB / 0.5888 GB, free: 21.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.001004/0.4117, allocations: 459.7 kB / 0.5892 GB, free: 21.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.412, allocations: 79.33 kB / 0.5893 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.412, allocations: 1.656 kB / 0.5893 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.4122, allocations: 42.69 kB / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.4124, allocations: 32.67 kB / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.4129, allocations: 244.4 kB / 0.5896 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.413, allocations: 0.7082 MB / 0.5903 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.4131, allocations: 16.12 kB / 0.5903 GB, free: 20.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.4132, allocations: 25.27 kB / 0.5903 GB, free: 20.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4132, allocations: 1.625 kB / 0.5903 GB, free: 20.52 MB / 446.1 MB Notification: Performance of Templates: time 0.00476/0.4179, allocations: 2.023 MB / 0.5923 GB, free: 19.14 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)