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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 173.6 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01646/0.01646, allocations: 2.269 MB / 261.8 MB, free: 10.82 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 332.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.277e-05, allocations: 8.781 kB / 332.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002033/0.002056, allocations: 1.537 MB / 333.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.003412, allocations: 1.371 MB / 335 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.003455, allocations: 0 / 335 MB, free: 13.87 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:35:3-59:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.003788, allocations: 59.62 kB / 335 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.003877, allocations: 23.86 kB / 335.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.004087, allocations: 87.72 kB / 335.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.004179, allocations: 59.78 kB / 335.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.945e-05/0.004208, allocations: 4 kB / 335.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.102e-05/0.00428, allocations: 39.89 kB / 335.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.004611, allocations: 15.73 kB / 335.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.004629, allocations: 4 kB / 335.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.004756, allocations: 107.7 kB / 335.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.004803, allocations: 11.98 kB / 335.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.004844, allocations: 19.92 kB / 335.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.005039, allocations: 143.6 kB / 335.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005043, allocations: 4 kB / 335.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.005044, allocations: 0 / 335.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.005049, allocations: 0 / 335.5 MB, free: 13.3 MB / 266.7 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.0003895/0.005439, allocations: 429.6 kB / 336 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.00547, allocations: 11.97 kB / 336 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.005521, allocations: 16.89 kB / 336 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.005663, allocations: 136.5 kB / 336.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.005673, allocations: 8.312 kB / 336.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.005684, allocations: 384 / 336.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.005788, allocations: 79.95 kB / 336.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.005797, allocations: 4.188 kB / 336.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.005807, allocations: 384 / 336.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.005811, allocations: 7.938 kB / 336.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.217e-05/0.005874, allocations: 45.69 kB / 336.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.006, allocations: 136.5 kB / 336.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.87e-05/0.006069, allocations: 68.77 kB / 336.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.00612, allocations: 57.42 kB / 336.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.006131, allocations: 4 kB / 336.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.00625, allocations: 132.5 kB / 336.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.006251, allocations: 0 / 336.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002976/0.006548, allocations: 234.8 kB / 336.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.006584, allocations: 85.05 kB / 337 MB, free: 11.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.006685, allocations: 189.9 kB / 337.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.006696, allocations: 25.7 kB / 337.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.006732, allocations: 138.9 kB / 337.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.006765, allocations: 27.78 kB / 337.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.006805, allocations: 27.38 kB / 337.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.006898, allocations: 0.4923 MB / 337.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.006942, allocations: 45.7 kB / 337.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.006977, allocations: 53.69 kB / 338 MB, free: 10.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.008e-05/0.007068, allocations: 119 kB / 338.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.00707, allocations: 4 kB / 338.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001635/0.007233, allocations: 180.9 kB / 338.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.007264, allocations: 33.7 kB / 338.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007269, allocations: 0 / 338.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.007285, allocations: 3.938 kB / 338.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.007347, allocations: 11.88 kB / 338.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.007354, allocations: 3.984 kB / 338.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.007418, allocations: 4 kB / 338.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.007427, allocations: 4 kB / 338.3 MB, free: 10.21 MB / 266.7 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 8.487e-05/0.007511, allocations: 202.3 kB / 338.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.007535, allocations: 11.95 kB / 338.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.007558, allocations: 4.438 kB / 338.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00756, allocations: 4 kB / 338.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.007565, allocations: 3.938 kB / 338.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.007567, allocations: 0 / 338.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.153e-05/0.007649, allocations: 132.6 kB / 338.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.00765, allocations: 0 / 338.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.007668, allocations: 4 kB / 338.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.00767, allocations: 0 / 338.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.007683, allocations: 8 kB / 338.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.007684, allocations: 4 kB / 338.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007685, allocations: 0 / 338.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.007901, allocations: 247.6 kB / 338.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.007912, allocations: 8.078 kB / 338.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.007934, allocations: 4 kB / 338.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.007975, allocations: 11.97 kB / 338.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.008012, allocations: 7.938 kB / 339 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.008027, allocations: 4 kB / 339 MB, free: 9.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.00808, allocations: 151.5 kB / 339.1 MB, free: 9.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00808, allocations: 0 / 339.1 MB, free: 9.324 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.008301, allocations: 39.92 kB / 339.1 MB, free: 9.285 MB / 266.7 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.001196/0.009497, allocations: 235.9 kB / 339.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.009674, allocations: 202.4 kB / 339.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.009675, allocations: 0 / 339.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.009748, allocations: 132.8 kB / 339.7 MB, free: 8.707 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.009947, allocations: 12 kB / 339.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.01028, allocations: 225.4 kB / 339.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.01032, allocations: 79.31 kB / 340 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.994e-05/0.01034, allocations: 4 kB / 340 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.01036, allocations: 8.5 kB / 340 MB, free: 8.332 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01036, allocations: 0 / 340 MB, free: 8.332 MB / 266.7 MB Notification: Performance of Templates: time 0.004212/0.01457, allocations: 1.6 MB / 341.6 MB, free: 6.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.143738419050351]