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.006415/0.006415, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.001235/0.001235, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.02499/0.02499, allocations: 2.959 MB / 293.5 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 406.3 MB, free: 28.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 50.33 MB / 456.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003061/0.1165, allocations: 1.512 MB / 458.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1185, allocations: 1.272 MB / 459.4 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.1186, allocations: 0 / 459.4 MB, free: 7.598 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo:53:3-77:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.119, allocations: 47.7 kB / 459.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.1191, allocations: 35.78 kB / 459.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1194, allocations: 75.8 kB / 459.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1195, allocations: 75.81 kB / 459.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.1196, allocations: 11.88 kB / 459.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.329e-05/0.1197, allocations: 19.92 kB / 459.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.12, allocations: 27.86 kB / 459.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.12, allocations: 4 kB / 459.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.1202, allocations: 111.8 kB / 459.8 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.1203, allocations: 11.94 kB / 459.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.1203, allocations: 23.86 kB / 459.8 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.1207, allocations: 131.7 kB / 459.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1207, allocations: 4 kB / 459.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1207, allocations: 0 / 459.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1207, allocations: 0 / 459.9 MB, free: 7.027 MB / 334.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.0005544/0.1212, allocations: 401 kB / 460.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1213, allocations: 15.89 kB / 460.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.141e-05/0.1214, allocations: 4.844 kB / 460.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1216, allocations: 184.3 kB / 460.5 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.1216, allocations: 384 / 460.5 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1217, allocations: 384 / 460.5 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1218, allocations: 73.92 kB / 460.6 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1218, allocations: 0 / 460.6 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1219, allocations: 4 kB / 460.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1219, allocations: 0 / 460.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8e-05/0.1219, allocations: 27.98 kB / 460.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.1221, allocations: 181.5 kB / 460.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.1222, allocations: 50.56 kB / 460.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/0.1223, allocations: 40.89 kB / 460.9 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.1223, allocations: 4 kB / 460.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.1225, allocations: 117 kB / 461 MB, free: 5.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1225, allocations: 0 / 461 MB, free: 5.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003494/0.1228, allocations: 191.4 kB / 461.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.1229, allocations: 81.11 kB / 461.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.123, allocations: 137.7 kB / 461.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1231, allocations: 25.7 kB / 461.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.1231, allocations: 96.14 kB / 461.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.1232, allocations: 7.812 kB / 461.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.1232, allocations: 25.7 kB / 461.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1233, allocations: 318.8 kB / 461.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.1234, allocations: 31.92 kB / 461.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-05/0.1234, allocations: 27.98 kB / 461.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1235, allocations: 120.3 kB / 462.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1236, allocations: 4 kB / 462.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002009/0.1238, allocations: 167.2 kB / 462.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.1238, allocations: 37.69 kB / 462.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1238, allocations: 0 / 462.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1238, allocations: 0 / 462.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.1239, allocations: 8 kB / 462.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1239, allocations: 0 / 462.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.124, allocations: 15.83 kB / 462.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.124, allocations: 4 kB / 462.3 MB, free: 4.398 MB / 334.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.0001136/0.1241, allocations: 152.2 kB / 462.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.1242, allocations: 15.84 kB / 462.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.601e-05/0.1242, allocations: 16.31 kB / 462.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1242, allocations: 0 / 462.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1243, allocations: 0 / 462.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1243, allocations: 0 / 462.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1244, allocations: 181.6 kB / 462.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1244, allocations: 0 / 462.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.1244, allocations: 7.938 kB / 462.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1244, allocations: 0 / 462.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1245, allocations: 7.984 kB / 462.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1245, allocations: 0 / 462.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1245, allocations: 7.938 kB / 462.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1247, allocations: 206.7 kB / 462.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.1248, allocations: 85.05 kB / 463 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.1248, allocations: 0 / 463 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.1249, allocations: 4 kB / 463 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1249, allocations: 11.98 kB / 463 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1249, allocations: 0 / 463 MB, free: 3.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1251, allocations: 111.2 kB / 463.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1251, allocations: 0 / 463.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.1253, allocations: 40 kB / 463.1 MB, free: 3.461 MB / 334.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.0007693/0.1261, allocations: 228.8 kB / 463.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1263, allocations: 159.3 kB / 463.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1263, allocations: 3.938 kB / 463.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1265, allocations: 131.4 kB / 463.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.1267, allocations: 4 kB / 463.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.1271, allocations: 201.4 kB / 463.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.1275, allocations: 0.6924 MB / 464.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.212e-05/0.1276, allocations: 4 kB / 464.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.1276, allocations: 7.438 kB / 464.5 MB, free: 2 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1276, allocations: 0 / 464.5 MB, free: 2 MB / 334.1 MB Notification: Performance of Templates: time 0.004337/0.132, allocations: 1.502 MB / 466 MB, free: 0.5 MB / 334.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)