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/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/ExternData 3.0.3/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001006/0.001006, allocations: 177.3 kB / 15.94 MB, free: 228 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.364/1.364, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo): time 0.1802/0.1802, allocations: 2.956 MB / 293.9 MB, free: 3.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003623, allocations: 8 kB / 355.7 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 51.36 MB / 407.1 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002048/0.1195, allocations: 1.204 MB / 408.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1211, allocations: 1.187 MB / 409.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.1212, allocations: 3.938 kB / 409.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.1214, allocations: 39.89 kB / 409.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.208e-05/0.1215, allocations: 19.86 kB / 409.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1218, allocations: 55.88 kB / 409.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.02e-05/0.1219, allocations: 35.94 kB / 409.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.1219, allocations: 11.98 kB / 409.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.454e-05/0.122, allocations: 31.84 kB / 409.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1222, allocations: 15.94 kB / 409.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1222, allocations: 0 / 409.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1223, allocations: 91.84 kB / 409.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.1224, allocations: 11.92 kB / 409.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.1225, allocations: 37.64 kB / 409.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1226, allocations: 96.08 kB / 409.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1226, allocations: 4 kB / 409.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1226, allocations: 0 / 409.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1227, allocations: 4 kB / 409.9 MB, free: 13.46 MB / 350.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.0005024/0.1232, allocations: 412.8 kB / 410.4 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1232, allocations: 11.97 kB / 410.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.1232, allocations: 7.906 kB / 410.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.1235, allocations: 194.9 kB / 410.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1235, allocations: 7.938 kB / 410.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1235, allocations: 0 / 410.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1236, allocations: 65.67 kB / 410.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1236, allocations: 0 / 410.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1237, allocations: 4 kB / 410.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1237, allocations: 0 / 410.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.1237, allocations: 35.92 kB / 410.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.1239, allocations: 189.5 kB / 410.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.718e-05/0.124, allocations: 50.56 kB / 410.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.124, allocations: 0 / 410.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1242, allocations: 105.1 kB / 411 MB, free: 12.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1242, allocations: 4 kB / 411 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003609/0.1246, allocations: 272.4 kB / 411.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1246, allocations: 81.11 kB / 411.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1248, allocations: 151.9 kB / 411.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1248, allocations: 29.7 kB / 411.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.1249, allocations: 92.14 kB / 411.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1249, allocations: 23.64 kB / 411.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.1249, allocations: 0 / 411.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.125, allocations: 322.8 kB / 412 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.1251, allocations: 27.98 kB / 412 MB, free: 11.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.1251, allocations: 27.98 kB / 412 MB, free: 11.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.1252, allocations: 53.64 kB / 412.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1252, allocations: 4 kB / 412.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001903/0.1254, allocations: 167.2 kB / 412.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.1254, allocations: 33.64 kB / 412.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1254, allocations: 4 kB / 412.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1254, allocations: 0 / 412.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.1255, allocations: 8.078 kB / 412.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1255, allocations: 11.88 kB / 412.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.1256, allocations: 4 kB / 412.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1256, allocations: 4.141 kB / 412.3 MB, free: 10.82 MB / 350.1 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1257, allocations: 159.5 kB / 412.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.1258, allocations: 11.86 kB / 412.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.1258, allocations: 8.719 kB / 412.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1258, allocations: 0 / 412.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1258, allocations: 3.984 kB / 412.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1258, allocations: 0 / 412.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.126, allocations: 193.5 kB / 412.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.126, allocations: 0 / 412.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.126, allocations: 8 kB / 412.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.126, allocations: 7.953 kB / 412.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.126, allocations: 7.984 kB / 412.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.126, allocations: 0 / 412.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.126, allocations: 0 / 412.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1263, allocations: 214.8 kB / 412.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1264, allocations: 97 kB / 413 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1264, allocations: 7.953 kB / 413 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.1265, allocations: 4 kB / 413 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1265, allocations: 8 kB / 413 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1265, allocations: 3.984 kB / 413 MB, free: 9.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.813e-05/0.1266, allocations: 116.5 kB / 413.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1266, allocations: 0 / 413.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1269, allocations: 43.98 kB / 413.2 MB, free: 9.84 MB / 350.1 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 (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.0005278/0.1275, allocations: 231.9 kB / 413.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1277, allocations: 159.4 kB / 413.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1277, allocations: 0 / 413.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.1278, allocations: 127.3 kB / 413.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1279, allocations: 7.938 kB / 413.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.1283, allocations: 201.1 kB / 413.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1286, allocations: 0.6965 MB / 414.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.1286, allocations: 8.188 kB / 414.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.1287, allocations: 11.44 kB / 414.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1287, allocations: 4 kB / 414.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of Templates: time 0.005423/0.1341, allocations: 1.549 MB / 416.2 MB, free: 6.816 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: