Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.conf.json 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/ExternData 3.0.3-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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) Running command: translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.01177/0.01177, allocations: 2.944 MB / 19.67 MB, free: 2.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 244.3 MB, free: 7.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009777/0.0009775, allocations: 105.1 kB / 295.4 MB, free: 7.602 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 48.14 kB / 356.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1939, allocations: 50.33 MB / 406.8 MB, free: 29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.00204/0.196, allocations: 1.563 MB / 408.4 MB, free: 27.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1971, allocations: 1.272 MB / 409.6 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.1972, allocations: 0 / 409.6 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.1974, allocations: 39.84 kB / 409.7 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.1975, allocations: 27.86 kB / 409.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1977, allocations: 55.94 kB / 409.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.1977, allocations: 66.3 kB / 409.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.003e-05/0.1978, allocations: 0 / 409.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.1978, allocations: 27.86 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1981, allocations: 23.86 kB / 409.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1981, allocations: 4 kB / 409.9 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1982, allocations: 103.8 kB / 410 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.1983, allocations: 10.36 kB / 410 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.1983, allocations: 27.81 kB / 410 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1985, allocations: 121.9 kB / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1985, allocations: 0 / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1985, allocations: 0 / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.1985, allocations: 3.938 kB / 410.1 MB, free: 25.66 MB / 298.7 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.000313/0.1988, allocations: 407.6 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.1988, allocations: 8.031 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1989, allocations: 16.78 kB / 410.5 MB, free: 25.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.199, allocations: 188.2 kB / 410.7 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-06/0.199, allocations: 384 / 410.7 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.199, allocations: 4.375 kB / 410.7 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1991, allocations: 65.98 kB / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1992, allocations: 0 / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1992, allocations: 0 / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1992, allocations: 4 kB / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.114e-05/0.1992, allocations: 31.98 kB / 410.8 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.1993, allocations: 169.6 kB / 411 MB, free: 24.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.627e-05/0.1994, allocations: 54.5 kB / 411.1 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.1995, allocations: 40.89 kB / 411.1 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.1995, allocations: 0 / 411.1 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.1996, allocations: 117 kB / 411.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.1996, allocations: 0 / 411.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002423/0.1999, allocations: 199.3 kB / 411.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1999, allocations: 85.11 kB / 411.5 MB, free: 24.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.2, allocations: 125.8 kB / 411.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2, allocations: 29.7 kB / 411.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/0.2, allocations: 88.14 kB / 411.7 MB, free: 23.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.2, allocations: 23.64 kB / 411.7 MB, free: 23.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.2001, allocations: 25.72 kB / 411.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.2001, allocations: 322.8 kB / 412.1 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.2002, allocations: 27.98 kB / 412.1 MB, free: 23.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.2002, allocations: 24 kB / 412.1 MB, free: 23.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.2003, allocations: 124.2 kB / 412.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2003, allocations: 0 / 412.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001405/0.2004, allocations: 159.2 kB / 412.4 MB, free: 23.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2005, allocations: 41.69 kB / 412.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2005, allocations: 0 / 412.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2005, allocations: 8 kB / 412.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.2005, allocations: 4 kB / 412.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2005, allocations: 3.938 kB / 412.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.2006, allocations: 0 / 412.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2006, allocations: 4 kB / 412.5 MB, free: 23.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.161e-05/0.2007, allocations: 151.5 kB / 412.6 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.2007, allocations: 11.84 kB / 412.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.2007, allocations: 12.38 kB / 412.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2007, allocations: 3.984 kB / 412.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2007, allocations: 4 kB / 412.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2007, allocations: 0 / 412.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.731e-05/0.2008, allocations: 181.5 kB / 412.8 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2008, allocations: 3.938 kB / 412.8 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.2008, allocations: 7.938 kB / 412.8 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2009, allocations: 0 / 412.8 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2009, allocations: 8 kB / 412.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2009, allocations: 96 / 412.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2009, allocations: 7.938 kB / 412.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.2012, allocations: 0.8013 MB / 413.7 MB, free: 21.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.2012, allocations: 89 kB / 413.7 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.2013, allocations: 4 kB / 413.8 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.2013, allocations: 0 / 413.8 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2013, allocations: 8 kB / 413.8 MB, free: 21.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.2014, allocations: 4 kB / 413.8 MB, free: 21.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.001e-05/0.2014, allocations: 103.2 kB / 413.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2014, allocations: 4 kB / 413.9 MB, free: 21.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.2017, allocations: 43.94 kB / 413.9 MB, free: 21.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0006198/0.2024, allocations: 232.8 kB / 414.1 MB, free: 21.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.2025, allocations: 159.4 kB / 414.3 MB, free: 21.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2025, allocations: 0 / 414.3 MB, free: 21.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.2026, allocations: 123.4 kB / 414.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.2028, allocations: 19.92 kB / 414.4 MB, free: 20.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.2031, allocations: 326 kB / 414.8 MB, free: 20.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.541e-05/0.2032, allocations: 0.7043 MB / 415.5 MB, free: 19.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.05e-05/0.2032, allocations: 7.938 kB / 415.5 MB, free: 19.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.2033, allocations: 7.438 kB / 415.5 MB, free: 19.84 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2033, allocations: 0 / 415.5 MB, free: 19.84 MB / 298.7 MB Notification: Performance of Templates: time 0.002917/0.2062, allocations: 1.463 MB / 416.9 MB, free: 18.38 MB / 298.7 MB make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile (rm -f ExternData_ExternData.Examples.CSVTest.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest.pipe >> ../files/ExternData_ExternData.Examples.CSVTest.sim & ./ExternData_ExternData.Examples.CSVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1)