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.00111/0.00111, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001175/0.001175, allocations: 196.8 kB / 16.14 MB, free: 6.695 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7403/0.7403, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 57.5 kB / 0.5011 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1883, allocations: 80.2 MB / 0.5794 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003163/0.1914, allocations: 1.732 MB / 0.5811 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.1938, allocations: 1.471 MB / 0.5826 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.1939, allocations: 4 kB / 0.5826 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1942, allocations: 39.83 kB / 0.5826 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1944, allocations: 59.7 kB / 0.5826 GB, free: 5.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1948, allocations: 98.7 kB / 0.5827 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.195, allocations: 119.5 kB / 0.5829 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/0.1951, allocations: 5.125 kB / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1953, allocations: 55.77 kB / 0.5829 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1955, allocations: 49.42 kB / 0.583 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.1955, allocations: 4 kB / 0.583 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1957, allocations: 59.97 kB / 0.583 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.1958, allocations: 23.91 kB / 0.583 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.067e-05/0.1959, allocations: 43.73 kB / 0.5831 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1962, allocations: 147.8 kB / 0.5832 GB, free: 5.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1962, allocations: 0 / 0.5832 GB, free: 5.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1962, allocations: 0 / 0.5832 GB, free: 5.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1962, allocations: 4 kB / 0.5832 GB, free: 5.312 MB / 494.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.0007458/0.197, allocations: 434.9 kB / 0.5836 GB, free: 4.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.197, allocations: 8.031 kB / 0.5837 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.1971, allocations: 16.69 kB / 0.5837 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.1975, allocations: 224.8 kB / 0.5839 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1975, allocations: 384 / 0.5839 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.1975, allocations: 12.11 kB / 0.5839 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1978, allocations: 97.03 kB / 0.584 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1978, allocations: 0 / 0.584 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1978, allocations: 7.922 kB / 0.584 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1979, allocations: 4 kB / 0.584 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.1981, allocations: 51.95 kB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.1984, allocations: 215.3 kB / 0.5843 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.1987, allocations: 111.8 kB / 0.5844 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1988, allocations: 54.55 kB / 0.5844 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1989, allocations: 0 / 0.5844 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.1992, allocations: 113.9 kB / 0.5845 GB, free: 3.773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 3.567e-06/0.1992, allocations: 0 / 0.5845 GB, free: 3.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005236/0.1997, allocations: 169.3 kB / 0.5847 GB, free: 3.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.1998, allocations: 140.8 kB / 0.5848 GB, free: 3.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.2, allocations: 169.4 kB / 0.585 GB, free: 3.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2, allocations: 29.7 kB / 0.585 GB, free: 3.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.2001, allocations: 104.1 kB / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.2002, allocations: 27.69 kB / 0.5851 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.2002, allocations: 21.72 kB / 0.5852 GB, free: 3.066 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2003, allocations: 326.8 kB / 0.5855 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2005, allocations: 27.97 kB / 0.5855 GB, free: 2.711 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.2006, allocations: 72.2 kB / 0.5856 GB, free: 2.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.2008, allocations: 95.38 kB / 0.5857 GB, free: 2.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2008, allocations: 0 / 0.5857 GB, free: 2.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000316/0.2011, allocations: 129.4 kB / 0.5858 GB, free: 2.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2012, allocations: 4 kB / 0.5858 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2012, allocations: 7.984 kB / 0.5858 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2012, allocations: 0 / 0.5858 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2014, allocations: 19.98 kB / 0.5858 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2014, allocations: 4.094 kB / 0.5858 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.316e-05/0.2015, allocations: 19.84 kB / 0.5858 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2015, allocations: 7.938 kB / 0.5858 GB, free: 2.324 MB / 494.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.0001305/0.2016, allocations: 127 kB / 0.586 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.2017, allocations: 8.094 kB / 0.586 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.2017, allocations: 25.39 kB / 0.586 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2017, allocations: 3.938 kB / 0.586 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2018, allocations: 0 / 0.586 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2018, allocations: 4 kB / 0.586 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.202, allocations: 205.5 kB / 0.5862 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.202, allocations: 8.25 kB / 0.5862 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.2021, allocations: 11.98 kB / 0.5862 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.2021, allocations: 4 kB / 0.5862 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2021, allocations: 4 kB / 0.5862 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2021, allocations: 0 / 0.5862 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2021, allocations: 7.938 kB / 0.5862 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.2025, allocations: 170.6 kB / 0.5864 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.2025, allocations: 88.92 kB / 0.5865 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.2026, allocations: 0 / 0.5865 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.2027, allocations: 7.984 kB / 0.5865 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.2027, allocations: 11.98 kB / 0.5865 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.2027, allocations: 4 kB / 0.5865 GB, free: 1.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.2029, allocations: 143.5 kB / 0.5866 GB, free: 1.406 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2029, allocations: 0 / 0.5866 GB, free: 1.406 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.2031, allocations: 28 kB / 0.5867 GB, free: 1.379 MB / 494.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.001017/0.2042, allocations: 458.7 kB / 0.5871 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.2045, allocations: 83.88 kB / 0.5872 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2045, allocations: 0 / 0.5872 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.2046, allocations: 39.98 kB / 0.5872 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.205, allocations: 32.66 kB / 0.5872 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.2055, allocations: 255 kB / 0.5875 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.2058, allocations: 0.7044 MB / 0.5882 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.182e-05/0.2059, allocations: 24.8 kB / 0.5882 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.206, allocations: 19.42 kB / 0.5882 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.206, allocations: 4 kB / 0.5882 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.005332/0.2113, allocations: 1.918 MB / 0.5901 GB, free: 14.03 MB / 0.4981 GB 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)