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.0009801/0.0009802, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001148/0.001148, allocations: 168.7 kB / 15.95 MB, free: 204 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.485/1.485, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.181/0.181, allocations: 2.953 MB / 294 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 8 kB / 356 MB, free: 3.609 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1166, allocations: 51.34 MB / 407.3 MB, free: 212 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001692/0.1183, allocations: 1.208 MB / 408.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1199, allocations: 1.183 MB / 409.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.12, allocations: 3.938 kB / 409.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1202, allocations: 43.84 kB / 409.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.1203, allocations: 27.84 kB / 409.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1206, allocations: 59.5 kB / 409.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.1207, allocations: 55.78 kB / 409.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.1207, allocations: 7.984 kB / 409.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.1208, allocations: 23.91 kB / 409.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005133/0.1213, allocations: 23.86 kB / 409.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.1213, allocations: 8 kB / 409.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1215, allocations: 95.84 kB / 410 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.1215, allocations: 8 kB / 410 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.1216, allocations: 37.64 kB / 410.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1218, allocations: 100.1 kB / 410.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1218, allocations: 0 / 410.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1218, allocations: 0 / 410.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1218, allocations: 0 / 410.2 MB, free: 13.31 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.0004989/0.1223, allocations: 408.8 kB / 410.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1224, allocations: 20.02 kB / 410.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.1224, allocations: 34.56 kB / 410.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.1224, allocations: 11.84 kB / 410.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.1227, allocations: 206.1 kB / 410.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.1227, allocations: 4 kB / 410.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1227, allocations: 0 / 410.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1229, allocations: 69.61 kB / 410.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1229, allocations: 3.984 kB / 410.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1229, allocations: 0 / 410.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1229, allocations: 0 / 410.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.123, allocations: 35.98 kB / 411 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.1232, allocations: 177.6 kB / 411.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/0.1233, allocations: 50.56 kB / 411.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.1233, allocations: 44.89 kB / 411.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1233, allocations: 3.938 kB / 411.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.1235, allocations: 105.1 kB / 411.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1235, allocations: 4 kB / 411.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003599/0.1239, allocations: 191.4 kB / 411.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.124, allocations: 81.11 kB / 411.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1241, allocations: 151.9 kB / 411.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1242, allocations: 25.7 kB / 411.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.1242, allocations: 96.08 kB / 411.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.1242, allocations: 27.64 kB / 411.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.1243, allocations: 0 / 411.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1244, allocations: 322.8 kB / 412.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.1244, allocations: 31.92 kB / 412.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.1245, allocations: 27.98 kB / 412.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.1246, allocations: 53.69 kB / 412.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1246, allocations: 3.953 kB / 412.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002026/0.1248, allocations: 159.2 kB / 412.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.1248, allocations: 45.62 kB / 412.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1248, allocations: 0 / 412.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1249, allocations: 0 / 412.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.1249, allocations: 4 kB / 412.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1249, allocations: 8 kB / 412.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.125, allocations: 4 kB / 412.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.125, allocations: 0 / 412.5 MB, free: 10.68 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.0001241/0.1252, allocations: 157.7 kB / 412.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.1252, allocations: 11.86 kB / 412.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.1252, allocations: 16.7 kB / 412.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1252, allocations: 0 / 412.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1252, allocations: 0 / 412.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1252, allocations: 0 / 412.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.1254, allocations: 193.5 kB / 412.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1254, allocations: 0 / 412.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.1254, allocations: 7.953 kB / 412.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1254, allocations: 0 / 412.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1254, allocations: 7.984 kB / 412.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1254, allocations: 0 / 412.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1255, allocations: 3.938 kB / 412.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1257, allocations: 210.7 kB / 413.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.1258, allocations: 100.9 kB / 413.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.1258, allocations: 11.95 kB / 413.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.1259, allocations: 4.094 kB / 413.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.1259, allocations: 7.922 kB / 413.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.126, allocations: 4 kB / 413.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.1261, allocations: 119.2 kB / 413.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1261, allocations: 0 / 413.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1263, allocations: 40 kB / 413.4 MB, free: 9.699 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.001166/0.1275, allocations: 0.8622 MB / 414.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1278, allocations: 159.4 kB / 414.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1278, allocations: 0 / 414.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1279, allocations: 127.4 kB / 414.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.1281, allocations: 19.95 kB / 414.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1292, allocations: 0.6783 MB / 415.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1295, allocations: 0.7005 MB / 416 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.1296, allocations: 12.12 kB / 416 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.1296, allocations: 23.42 kB / 416 MB, free: 7.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1296, allocations: 3.938 kB / 416 MB, free: 7.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.1455, allocations: 2.642 MB / 418.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.1457, allocations: 197.4 kB / 418.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/1.962, allocations: 0 / 418.8 MB, free: 4.258 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: