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.0009144/0.0009144, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009984/0.0009984, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.031/1.031, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.01033/0.01033, allocations: 2.256 MB / 263.3 MB, free: 10.65 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.483e-06/1.483e-06, allocations: 0 / 334 MB, free: 1.246 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.007e-05, allocations: 4.703 kB / 334 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001995/0.002015, allocations: 1.564 MB / 335.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.003307, allocations: 1.414 MB / 337 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.003367, allocations: 0 / 337 MB, free: 14.23 MB / 314.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.0003033/0.00367, allocations: 47.72 kB / 337 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.003751, allocations: 31.78 kB / 337.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.003939, allocations: 79.78 kB / 337.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.004035, allocations: 67.77 kB / 337.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.004065, allocations: 4 kB / 337.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.00413, allocations: 31.91 kB / 337.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.004221, allocations: 23.91 kB / 337.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.004234, allocations: 4 kB / 337.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.00436, allocations: 95.8 kB / 337.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.004404, allocations: 19.92 kB / 337.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.004432, allocations: 15.98 kB / 337.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.004593, allocations: 131.7 kB / 337.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004595, allocations: 0 / 337.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004595, allocations: 0 / 337.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.004599, allocations: 0 / 337.5 MB, free: 13.69 MB / 314.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.0003376/0.004936, allocations: 437.8 kB / 338 MB, free: 13.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.004967, allocations: 12.03 kB / 338 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.005, allocations: 8.891 kB / 338 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.005136, allocations: 128.5 kB / 338.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.005143, allocations: 4.375 kB / 338.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.005152, allocations: 8.375 kB / 338.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.005236, allocations: 71.94 kB / 338.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.005242, allocations: 4.188 kB / 338.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.005249, allocations: 4.375 kB / 338.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.005253, allocations: 3.938 kB / 338.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.005289, allocations: 49.67 kB / 338.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.005389, allocations: 105.2 kB / 338.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.005437, allocations: 64.7 kB / 338.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.0055, allocations: 49.42 kB / 338.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.005505, allocations: 0 / 338.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.527e-05/0.005601, allocations: 136.6 kB / 338.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 6.92e-07/0.005601, allocations: 4 kB / 338.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002046/0.005806, allocations: 198.7 kB / 338.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.00584, allocations: 85.11 kB / 338.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.00592, allocations: 193.7 kB / 339.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.005931, allocations: 29.7 kB / 339.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.005966, allocations: 134.9 kB / 339.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.005995, allocations: 23.84 kB / 339.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.006087, allocations: 23.36 kB / 339.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.006202, allocations: 0.4923 MB / 339.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.006227, allocations: 41.7 kB / 339.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.006251, allocations: 41.69 kB / 339.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.006311, allocations: 103 kB / 339.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006312, allocations: 0 / 339.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001163/0.006429, allocations: 149 kB / 340.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.006455, allocations: 37.69 kB / 340.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006459, allocations: 0 / 340.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.006467, allocations: 4 kB / 340.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.006512, allocations: 8 kB / 340.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.006517, allocations: 11.86 kB / 340.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.006556, allocations: 4 kB / 340.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.006561, allocations: 0 / 340.2 MB, free: 10.75 MB / 314.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.069e-05/0.006642, allocations: 200.9 kB / 340.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.006659, allocations: 11.95 kB / 340.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.561e-05/0.006675, allocations: 8.438 kB / 340.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006676, allocations: 0 / 340.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.006678, allocations: 0 / 340.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006681, allocations: 3.938 kB / 340.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.219e-05/0.006753, allocations: 121.2 kB / 340.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.006754, allocations: 0 / 340.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.006766, allocations: 4 kB / 340.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006767, allocations: 0 / 340.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.006775, allocations: 4 kB / 340.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006776, allocations: 4 kB / 340.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006777, allocations: 3.938 kB / 340.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.006935, allocations: 227.6 kB / 340.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.006946, allocations: 7.953 kB / 340.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.006962, allocations: 4 kB / 340.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.006985, allocations: 4 kB / 340.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.007009, allocations: 7.984 kB / 340.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.007019, allocations: 0 / 340.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.156e-05/0.007061, allocations: 139.2 kB / 340.9 MB, free: 9.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007061, allocations: 0 / 340.9 MB, free: 9.941 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.007234, allocations: 35.94 kB / 340.9 MB, free: 9.906 MB / 314.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.0006102/0.007844, allocations: 251.1 kB / 341.2 MB, free: 9.691 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.007983, allocations: 174.4 kB / 341.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.007984, allocations: 0 / 341.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.008042, allocations: 120.8 kB / 341.5 MB, free: 9.352 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.008177, allocations: 19.98 kB / 341.5 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.008441, allocations: 208.4 kB / 341.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.008471, allocations: 59.34 kB / 341.7 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.842e-05/0.00849, allocations: 4 kB / 341.7 MB, free: 9.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.008564, allocations: 94.19 kB / 341.8 MB, free: 8.918 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.008565, allocations: 0 / 341.8 MB, free: 8.918 MB / 314.7 MB Notification: Performance of Templates: time 0.003152/0.01172, allocations: 1.757 MB / 343.6 MB, free: 7.176 MB / 314.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: 2.7651106379926205]