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-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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.0007198/0.0007197, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004806/0.004806, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1448/0.1448, allocations: 2.952 MB / 294.4 MB, free: 3.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002857, allocations: 8.219 kB / 356.6 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08871/0.08901, allocations: 51.35 MB / 407.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001604/0.09064, allocations: 1.215 MB / 409.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.09231, allocations: 1.268 MB / 410.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.09238, allocations: 0 / 410.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.09262, allocations: 39.84 kB / 410.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.09271, allocations: 31.86 kB / 410.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.09295, allocations: 59.81 kB / 410.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.751e-05/0.09304, allocations: 55.78 kB / 410.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.09307, allocations: 7.984 kB / 410.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.09314, allocations: 31.84 kB / 410.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.09326, allocations: 19.92 kB / 410.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.09329, allocations: 4 kB / 410.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.09346, allocations: 99.84 kB / 410.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.09352, allocations: 15.92 kB / 410.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.09358, allocations: 57.5 kB / 410.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.0938, allocations: 135.9 kB / 411 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.09381, allocations: 3.938 kB / 411 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09382, allocations: 4 kB / 411 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.09383, allocations: 0 / 411 MB, free: 12.82 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.0004189/0.09425, allocations: 412.9 kB / 411.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.09429, allocations: 8.031 kB / 411.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.09433, allocations: 38.75 kB / 411.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.09437, allocations: 8.844 kB / 411.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.09455, allocations: 196.2 kB / 411.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.09457, allocations: 384 / 411.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.09459, allocations: 4.375 kB / 411.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.09472, allocations: 61.8 kB / 411.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.09474, allocations: 0 / 411.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.09475, allocations: 4 kB / 411.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-06/0.09476, allocations: 0 / 411.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.09483, allocations: 31.92 kB / 411.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.09501, allocations: 193.6 kB / 411.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.0951, allocations: 50.56 kB / 412 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.09516, allocations: 40.89 kB / 412 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.09518, allocations: 0 / 412 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.09536, allocations: 120.9 kB / 412.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.09538, allocations: 0 / 412.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000311/0.0957, allocations: 187.3 kB / 412.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.09576, allocations: 85.11 kB / 412.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.09592, allocations: 151.4 kB / 412.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.09596, allocations: 29.64 kB / 412.6 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.09601, allocations: 92.14 kB / 412.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.09604, allocations: 19.73 kB / 412.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.09608, allocations: 17.72 kB / 412.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.0962, allocations: 318.8 kB / 413 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.09626, allocations: 31.98 kB / 413 MB, free: 10.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-05/0.09631, allocations: 28 kB / 413.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.09644, allocations: 128.1 kB / 413.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.09645, allocations: 0 / 413.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002154/0.09667, allocations: 167.1 kB / 413.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.09671, allocations: 39.72 kB / 413.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.09672, allocations: 0 / 413.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.09673, allocations: 0 / 413.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.09679, allocations: 4 kB / 413.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.0968, allocations: 0 / 413.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.09687, allocations: 12 kB / 413.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.09689, allocations: 4.141 kB / 413.4 MB, free: 10.1 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.0001193/0.09702, allocations: 155.7 kB / 413.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.09705, allocations: 15.84 kB / 413.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.09707, allocations: 12.7 kB / 413.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.09708, allocations: 0 / 413.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.09709, allocations: 4 kB / 413.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.0971, allocations: 0 / 413.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.09724, allocations: 193.5 kB / 413.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.09725, allocations: 4.094 kB / 413.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.09728, allocations: 3.938 kB / 413.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.09728, allocations: 3.984 kB / 413.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.0973, allocations: 4 kB / 413.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.09731, allocations: 0 / 413.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.09731, allocations: 0 / 413.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.09758, allocations: 218.7 kB / 414 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.09765, allocations: 96.94 kB / 414.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.09769, allocations: 8 kB / 414.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.09775, allocations: 8 kB / 414.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.09778, allocations: 3.984 kB / 414.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.0978, allocations: 4 kB / 414.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.0979, allocations: 119.2 kB / 414.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.0979, allocations: 0 / 414.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.09816, allocations: 39.94 kB / 414.3 MB, free: 9.117 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.0008692/0.09904, allocations: 0.8767 MB / 415.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.09926, allocations: 163.4 kB / 415.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.09927, allocations: 0 / 415.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.09939, allocations: 119.4 kB / 415.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.09959, allocations: 17.27 kB / 415.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.1013, allocations: 1.697 MB / 417.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1015, allocations: 0.6965 MB / 417.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.1016, allocations: 11.94 kB / 417.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.1016, allocations: 23.42 kB / 417.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1017, allocations: 4 kB / 417.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.1145, allocations: 2.639 MB / 420.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.1147, allocations: 215.1 kB / 420.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/1.844, allocations: 0 / 420.7 MB, free: 2.598 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/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)