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-master/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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: "" <> buildModelFMU(ExternData.Examples.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 99.55 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.0009346/0.0009346, 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.282/1.282, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.1438/0.1438, allocations: 2.953 MB / 293.9 MB, free: 3.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002937, allocations: 12 kB / 355.8 MB, free: 3.617 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09549, allocations: 51.36 MB / 407.2 MB, free: 216 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001683/0.09723, allocations: 1.212 MB / 408.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.09869, allocations: 1.187 MB / 409.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.09875, allocations: 4 kB / 409.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.09901, allocations: 43.83 kB / 409.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.09908, allocations: 19.92 kB / 409.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.0993, allocations: 55.86 kB / 409.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.09938, allocations: 35.95 kB / 409.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.09943, allocations: 7.984 kB / 409.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.0995, allocations: 35.84 kB / 409.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000924/0.1004, allocations: 19.86 kB / 409.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1004, allocations: 0 / 409.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1006, allocations: 87.86 kB / 409.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.1006, allocations: 7.984 kB / 409.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.1007, allocations: 37.64 kB / 409.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1009, allocations: 104.1 kB / 410 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1009, allocations: 0 / 410 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1009, allocations: 4 kB / 410.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1009, allocations: 0 / 410.1 MB, free: 13.34 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.0004367/0.1013, allocations: 416.7 kB / 410.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1014, allocations: 8.031 kB / 410.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.1014, allocations: 38.55 kB / 410.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.1014, allocations: 7.906 kB / 410.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1016, allocations: 198.8 kB / 410.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-06/0.1017, allocations: 0 / 410.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1017, allocations: 4 kB / 410.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.1018, allocations: 65.61 kB / 410.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1018, allocations: 4 kB / 410.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1018, allocations: 0 / 410.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1018, allocations: 3.984 kB / 410.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.1019, allocations: 35.92 kB / 410.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.1021, allocations: 177.6 kB / 411 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.848e-05/0.1022, allocations: 50.56 kB / 411 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.1022, allocations: 0 / 411 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1023, allocations: 117.2 kB / 411.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1024, allocations: 0 / 411.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003526/0.1027, allocations: 264.4 kB / 411.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.1028, allocations: 85.11 kB / 411.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1029, allocations: 151.6 kB / 411.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.103, allocations: 25.7 kB / 411.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.103, allocations: 96.12 kB / 411.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.1031, allocations: 27.66 kB / 411.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.1031, allocations: 0 / 411.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1032, allocations: 322.8 kB / 412.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.1033, allocations: 27.94 kB / 412.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.1033, allocations: 27.92 kB / 412.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.1034, allocations: 57.69 kB / 412.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1034, allocations: 3.953 kB / 412.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002021/0.1036, allocations: 159.2 kB / 412.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.1036, allocations: 43.25 kB / 412.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1036, allocations: 0 / 412.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1037, allocations: 4 kB / 412.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.1037, allocations: 4 kB / 412.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1037, allocations: 0 / 412.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.1038, allocations: 8 kB / 412.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1038, allocations: 0 / 412.4 MB, free: 10.67 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.0001316/0.104, allocations: 151.5 kB / 412.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.104, allocations: 19.84 kB / 412.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.104, allocations: 8.812 kB / 412.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.104, allocations: 11.94 kB / 412.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.104, allocations: 0 / 412.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.104, allocations: 0 / 412.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1042, allocations: 197.5 kB / 412.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1042, allocations: 0 / 412.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.1042, allocations: 7.953 kB / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1043, allocations: 0 / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1043, allocations: 0 / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.1043, allocations: 8 kB / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1043, allocations: 0 / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1046, allocations: 214.9 kB / 413 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.1046, allocations: 92.94 kB / 413.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1047, allocations: 11.95 kB / 413.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.1047, allocations: 4 kB / 413.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1048, allocations: 3.984 kB / 413.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1048, allocations: 4 kB / 413.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.216e-05/0.1049, allocations: 121.3 kB / 413.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1049, allocations: 3.938 kB / 413.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1051, allocations: 44 kB / 413.3 MB, free: 9.676 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.001184/0.1063, allocations: 0.8624 MB / 414.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1066, allocations: 159.4 kB / 414.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1066, allocations: 4 kB / 414.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1067, allocations: 127.4 kB / 414.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.1069, allocations: 7.953 kB / 414.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1079, allocations: 0.6862 MB / 415.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1082, allocations: 0.6965 MB / 415.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.711e-05/0.1083, allocations: 12.17 kB / 415.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.1083, allocations: 23.42 kB / 415.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1083, allocations: 0 / 415.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.1246, allocations: 2.613 MB / 418.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.1249, allocations: 193.1 kB / 418.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.776, allocations: 0 / 418.7 MB, free: 4.27 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_CSVTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_CSVTest.fmu > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) Environment - environmentSimulation: