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.001191/0.001191, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.01007/0.01007, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1584/0.1584, allocations: 2.946 MB / 294.4 MB, free: 3.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002959, allocations: 11.98 kB / 356.5 MB, free: 3.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 51.35 MB / 407.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001758/0.1108, allocations: 1.231 MB / 409.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1126, allocations: 1.249 MB / 410.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.1127, allocations: 4 kB / 410.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.113, allocations: 43.84 kB / 410.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.625e-05/0.1131, allocations: 31.84 kB / 410.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1134, allocations: 59.88 kB / 410.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.425e-05/0.1134, allocations: 51.8 kB / 410.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.1135, allocations: 7.984 kB / 410.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.1136, allocations: 27.91 kB / 410.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1137, allocations: 19.92 kB / 410.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1137, allocations: 4 kB / 410.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1139, allocations: 103.8 kB / 410.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.114, allocations: 15.92 kB / 410.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.114, allocations: 49.56 kB / 410.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1142, allocations: 123.9 kB / 410.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1142, allocations: 0 / 410.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1142, allocations: 0 / 410.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1143, allocations: 0 / 410.8 MB, free: 12.94 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.0004297/0.1147, allocations: 397 kB / 411.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1147, allocations: 8.031 kB / 411.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1148, allocations: 12.84 kB / 411.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.115, allocations: 192.2 kB / 411.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.115, allocations: 384 / 411.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.115, allocations: 4.375 kB / 411.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1152, allocations: 62 kB / 411.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1152, allocations: 3.938 kB / 411.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1152, allocations: 3.984 kB / 411.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1152, allocations: 3.984 kB / 411.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.1153, allocations: 31.98 kB / 411.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.1155, allocations: 169.7 kB / 411.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.1156, allocations: 50.56 kB / 411.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.1156, allocations: 40.89 kB / 411.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1157, allocations: 3.938 kB / 411.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.1159, allocations: 117 kB / 411.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.1159, allocations: 0 / 411.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003366/0.1162, allocations: 187.3 kB / 412.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1163, allocations: 81.11 kB / 412.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.1164, allocations: 133.8 kB / 412.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1164, allocations: 25.7 kB / 412.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.1165, allocations: 92.14 kB / 412.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.1165, allocations: 19.86 kB / 412.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.1165, allocations: 21.7 kB / 412.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.1167, allocations: 314.8 kB / 412.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.1167, allocations: 27.98 kB / 412.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.1168, allocations: 35.86 kB / 412.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1169, allocations: 116.2 kB / 412.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1169, allocations: 0 / 412.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002081/0.1171, allocations: 171.1 kB / 413.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.1172, allocations: 33.7 kB / 413.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1172, allocations: 4 kB / 413.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1172, allocations: 0 / 413.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.1173, allocations: 4 kB / 413.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1173, allocations: 7.984 kB / 413.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.1173, allocations: 4 kB / 413.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1174, allocations: 4 kB / 413.2 MB, free: 10.33 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 (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 0.0001141/0.1175, allocations: 157.2 kB / 413.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.1175, allocations: 11.94 kB / 413.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.1175, allocations: 12.31 kB / 413.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1175, allocations: 0 / 413.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1175, allocations: 0 / 413.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1176, allocations: 0 / 413.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1177, allocations: 185.6 kB / 413.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1177, allocations: 4 kB / 413.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.1177, allocations: 7.938 kB / 413.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1177, allocations: 0 / 413.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1178, allocations: 7.984 kB / 413.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1178, allocations: 0 / 413.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.1178, allocations: 0 / 413.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.118, allocations: 214.6 kB / 413.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1181, allocations: 84.95 kB / 413.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1181, allocations: 11.98 kB / 413.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.1182, allocations: 4 kB / 413.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.1182, allocations: 4 kB / 413.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1182, allocations: 4 kB / 413.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.332e-05/0.1183, allocations: 107.2 kB / 414 MB, free: 9.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1183, allocations: 0 / 414 MB, free: 9.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1186, allocations: 39.98 kB / 414 MB, free: 9.387 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 (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.0004959/0.1191, allocations: 240.4 kB / 414.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1193, allocations: 163.3 kB / 414.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1193, allocations: 4 kB / 414.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1194, allocations: 119.4 kB / 414.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.1196, allocations: 11.94 kB / 414.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.12, allocations: 212.8 kB / 414.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1203, allocations: 0.6887 MB / 415.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.264e-05/0.1203, allocations: 8 kB / 415.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.1203, allocations: 11.44 kB / 415.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1204, allocations: 0 / 415.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of Templates: time 0.003961/0.1243, allocations: 1.419 MB / 416.9 MB, free: 6.488 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)