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.4/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.00106/0.00106, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001449/0.001449, allocations: 172.7 kB / 15.95 MB, free: 208 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.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.2497/0.2497, allocations: 2.951 MB / 294 MB, free: 3.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 8 kB / 355.9 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 51.34 MB / 407.2 MB, free: 312 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001822/0.1228, allocations: 1.212 MB / 408.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1245, allocations: 1.175 MB / 409.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.1246, allocations: 4 kB / 409.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1249, allocations: 43.84 kB / 409.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.125, allocations: 31.84 kB / 409.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1252, allocations: 55.92 kB / 409.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.305e-05/0.1253, allocations: 55.78 kB / 409.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.1254, allocations: 11.97 kB / 409.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.1254, allocations: 11.94 kB / 409.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1256, allocations: 31.84 kB / 409.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.1256, allocations: 0 / 409.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1258, allocations: 99.78 kB / 409.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.1258, allocations: 8 kB / 409.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.1259, allocations: 37.64 kB / 410 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1261, allocations: 100 kB / 410.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1261, allocations: 0 / 410.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1261, allocations: 0 / 410.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1261, allocations: 0 / 410.1 MB, free: 13.41 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.0004944/0.1266, allocations: 396.9 kB / 410.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1266, allocations: 8.031 kB / 410.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.1267, allocations: 7.906 kB / 410.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1269, allocations: 183 kB / 410.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1269, allocations: 0 / 410.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.127, allocations: 4 kB / 410.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1271, allocations: 65.61 kB / 410.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1271, allocations: 0 / 410.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1271, allocations: 0 / 410.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1271, allocations: 4 kB / 410.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.1272, allocations: 35.92 kB / 410.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.1274, allocations: 173.5 kB / 410.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.1275, allocations: 62.52 kB / 411 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.1276, allocations: 40.89 kB / 411 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.046e-06/0.1276, allocations: 0 / 411 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.1278, allocations: 109 kB / 411.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1278, allocations: 0 / 411.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000347/0.1282, allocations: 191.4 kB / 411.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.1283, allocations: 85.09 kB / 411.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1284, allocations: 133.8 kB / 411.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1284, allocations: 25.7 kB / 411.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.1285, allocations: 88.12 kB / 411.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.1285, allocations: 15.81 kB / 411.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.1285, allocations: 0 / 411.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1286, allocations: 322.8 kB / 412 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.1287, allocations: 27.94 kB / 412 MB, free: 11.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.886e-05/0.1287, allocations: 23.98 kB / 412 MB, free: 11.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.1288, allocations: 65.72 kB / 412.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1288, allocations: 0 / 412.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001934/0.129, allocations: 163.2 kB / 412.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.129, allocations: 41.69 kB / 412.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1291, allocations: 0 / 412.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1291, allocations: 0 / 412.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.1291, allocations: 4 kB / 412.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1292, allocations: 4 kB / 412.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.1292, allocations: 3.906 kB / 412.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1292, allocations: 4 kB / 412.3 MB, free: 10.91 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.0001293/0.1294, allocations: 162 kB / 412.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.1294, allocations: 11.86 kB / 412.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.1294, allocations: 16.36 kB / 412.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1294, allocations: 0 / 412.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1295, allocations: 0 / 412.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1295, allocations: 0 / 412.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1296, allocations: 181.6 kB / 412.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1296, allocations: 0 / 412.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.1296, allocations: 4 kB / 412.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1297, allocations: 7.953 kB / 412.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.1297, allocations: 8 kB / 412.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1297, allocations: 0 / 412.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1297, allocations: 144 / 412.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.13, allocations: 218.6 kB / 412.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.13, allocations: 85.02 kB / 413 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.13, allocations: 11.95 kB / 413 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.1301, allocations: 0 / 413 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.1301, allocations: 11.98 kB / 413 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.1302, allocations: 4 kB / 413 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.1302, allocations: 103.6 kB / 413.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 0 / 413.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1305, allocations: 44 kB / 413.2 MB, free: 9.953 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.0005206/0.131, allocations: 220.6 kB / 413.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1313, allocations: 167.3 kB / 413.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1313, allocations: 0 / 413.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1314, allocations: 123.4 kB / 413.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.1316, allocations: 8 kB / 413.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.132, allocations: 200.7 kB / 413.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1323, allocations: 0.7004 MB / 414.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.184e-05/0.1323, allocations: 0 / 414.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.1323, allocations: 11.44 kB / 414.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1323, allocations: 0 / 414.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of Templates: time 0.00407/0.1364, allocations: 1.392 MB / 416 MB, free: 7.105 MB / 350.1 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)