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.001448/0.001448, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001693/0.001693, allocations: 200.7 kB / 16.26 MB, free: 6.621 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.2483/0.2483, allocations: 2.934 MB / 293 MB, free: 3.199 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 64.12 kB / 354.3 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08417/0.0853, allocations: 50.35 MB / 404.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002386/0.08771, allocations: 1.557 MB / 406.2 MB, free: 24 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.08922, allocations: 1.26 MB / 407.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.08926, allocations: 0 / 407.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.08945, allocations: 39.84 kB / 407.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.08953, allocations: 23.92 kB / 407.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.08974, allocations: 67.88 kB / 407.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.641e-05/0.08984, allocations: 75.7 kB / 407.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.103e-05/0.08987, allocations: 7.984 kB / 407.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.08991, allocations: 31.86 kB / 407.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.09001, allocations: 23.91 kB / 407.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.09003, allocations: 4 kB / 407.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.09017, allocations: 103.8 kB / 407.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.09022, allocations: 15.94 kB / 407.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.09027, allocations: 35.78 kB / 407.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.09044, allocations: 139.9 kB / 408 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.09045, allocations: 0 / 408 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.09046, allocations: 4 kB / 408 MB, free: 14.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.09046, allocations: 0 / 408 MB, free: 14.19 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.0003763/0.09084, allocations: 424.8 kB / 408.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.333e-05/0.09087, allocations: 11.89 kB / 408.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.0909, allocations: 42.75 kB / 408.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.09094, allocations: 8.844 kB / 408.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.0911, allocations: 208 kB / 408.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.09111, allocations: 384 / 408.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.09113, allocations: 4.375 kB / 408.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.825e-05/0.09123, allocations: 69.8 kB / 408.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-06/0.09124, allocations: 0 / 408.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.09126, allocations: 0 / 408.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-06/0.09126, allocations: 0 / 408.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.09132, allocations: 31.98 kB / 408.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.09148, allocations: 181.6 kB / 409 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.374e-05/0.09157, allocations: 50.52 kB / 409 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.09163, allocations: 40.89 kB / 409.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.09164, allocations: 4 kB / 409.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.09181, allocations: 113 kB / 409.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.09182, allocations: 0 / 409.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000276/0.0921, allocations: 191.3 kB / 409.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.09215, allocations: 81.11 kB / 409.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.09229, allocations: 155.8 kB / 409.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.09231, allocations: 33.7 kB / 409.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.09236, allocations: 96.14 kB / 409.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.09239, allocations: 15.73 kB / 409.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.09243, allocations: 21.72 kB / 409.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.09255, allocations: 322.8 kB / 410.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.09259, allocations: 27.98 kB / 410.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.835e-05/0.09265, allocations: 35.86 kB / 410.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.09276, allocations: 116.2 kB / 410.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.09277, allocations: 3.938 kB / 410.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001931/0.09297, allocations: 163.2 kB / 410.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.09301, allocations: 41.69 kB / 410.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.09302, allocations: 0 / 410.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.63e-06/0.09303, allocations: 0 / 410.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.758e-05/0.09307, allocations: 8 kB / 410.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.09308, allocations: 0 / 410.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.09314, allocations: 7.906 kB / 410.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.09315, allocations: 0 / 410.5 MB, free: 11.45 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.0001017/0.09326, allocations: 155.5 kB / 410.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.09329, allocations: 23.83 kB / 410.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.09332, allocations: 12.72 kB / 410.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.09332, allocations: 0 / 410.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.09333, allocations: 0 / 410.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.09334, allocations: 0 / 410.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.09347, allocations: 193.5 kB / 410.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.09348, allocations: 0 / 410.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.0935, allocations: 4 kB / 410.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.09351, allocations: 0 / 410.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.09352, allocations: 4 kB / 410.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.09353, allocations: 4 kB / 410.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.09354, allocations: 4 kB / 410.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.09379, allocations: 214.6 kB / 411.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.09385, allocations: 93.12 kB / 411.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.09389, allocations: 8 kB / 411.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.978e-05/0.09394, allocations: 8.031 kB / 411.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.09397, allocations: 11.91 kB / 411.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.09399, allocations: 4 kB / 411.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.991e-05/0.09409, allocations: 125.4 kB / 411.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09409, allocations: 3.938 kB / 411.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.09432, allocations: 36 kB / 411.3 MB, free: 10.46 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.0007875/0.09511, allocations: 0.874 MB / 412.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.09531, allocations: 163.3 kB / 412.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.09532, allocations: 0 / 412.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.09543, allocations: 127.4 kB / 412.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.0956, allocations: 4.984 kB / 412.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.09713, allocations: 1.705 MB / 414.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.09737, allocations: 0.6924 MB / 414.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.09741, allocations: 7.984 kB / 414.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.09745, allocations: 31.36 kB / 414.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09746, allocations: 0 / 414.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2609/0.3584, allocations: 2.835 MB / 417.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/0.3587, allocations: 213.9 kB / 418 MB, free: 3.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.518, allocations: 0 / 418 MB, free: 3.738 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)