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.0009079/0.0009079, allocations: 92.22 kB / 19.65 MB, free: 276 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.001032/0.001032, allocations: 169 kB / 23.02 MB, free: 1.547 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.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.01028/0.01028, allocations: 2.255 MB / 262.2 MB, free: 10.79 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.463e-06/1.463e-06, allocations: 0 / 332.8 MB, free: 1.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.393e-05, allocations: 6.312 kB / 332.8 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.005659/0.005683, allocations: 1.57 MB / 334.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004641/0.01032, allocations: 1.414 MB / 335.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.01038, allocations: 0 / 335.8 MB, free: 14.52 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.0003671/0.01075, allocations: 47.7 kB / 335.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.01086, allocations: 39.72 kB / 335.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.0111, allocations: 75.83 kB / 335.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.01122, allocations: 67.78 kB / 336 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.028e-05/0.01125, allocations: 0 / 336 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.953e-05/0.01133, allocations: 43.84 kB / 336 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.01143, allocations: 27.91 kB / 336.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.01145, allocations: 4 kB / 336.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.0116, allocations: 91.86 kB / 336.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.01165, allocations: 15.92 kB / 336.2 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.01169, allocations: 15.98 kB / 336.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.01191, allocations: 127.6 kB / 336.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01192, allocations: 0 / 336.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01192, allocations: 4 kB / 336.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.01192, allocations: 0 / 336.3 MB, free: 13.96 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.0004207/0.01234, allocations: 437.9 kB / 336.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.01238, allocations: 8.031 kB / 336.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.01243, allocations: 20.88 kB / 336.8 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.01258, allocations: 132.5 kB / 336.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.01259, allocations: 384 / 336.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.0126, allocations: 4.375 kB / 336.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.01271, allocations: 79.88 kB / 337 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.01271, allocations: 192 / 337 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.01272, allocations: 384 / 337 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01273, allocations: 7.938 kB / 337 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.01278, allocations: 45.69 kB / 337 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.01594, allocations: 124.6 kB / 337.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.323e-05/0.01603, allocations: 68.77 kB / 337.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.01608, allocations: 53.42 kB / 337.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.01609, allocations: 0 / 337.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.01622, allocations: 136.4 kB / 337.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.01622, allocations: 0 / 337.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002918/0.01651, allocations: 202.9 kB / 337.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.01655, allocations: 81.05 kB / 337.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.01666, allocations: 193.8 kB / 337.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.01667, allocations: 25.7 kB / 337.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.01672, allocations: 142.9 kB / 338 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.01675, allocations: 23.84 kB / 338.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.0168, allocations: 27.38 kB / 338.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01693, allocations: 0.4922 MB / 338.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.01697, allocations: 45.69 kB / 338.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.017, allocations: 41.7 kB / 338.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.0171, allocations: 99.08 kB / 338.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.0171, allocations: 0 / 338.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001697/0.01727, allocations: 165 kB / 338.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.0173, allocations: 43.09 kB / 339 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01731, allocations: 0 / 339 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01732, allocations: 0 / 339 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.01738, allocations: 11.94 kB / 339 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.01739, allocations: 0 / 339 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.01744, allocations: 4 kB / 339 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.01745, allocations: 4 kB / 339 MB, free: 10.97 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 9.387e-05/0.01754, allocations: 194.3 kB / 339.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.01756, allocations: 11.95 kB / 339.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.01758, allocations: 8.438 kB / 339.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01759, allocations: 4 kB / 339.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01759, allocations: 3.938 kB / 339.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01759, allocations: 7.922 kB / 339.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.273e-05/0.01769, allocations: 132.6 kB / 339.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.01769, allocations: 0 / 339.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.01771, allocations: 8.141 kB / 339.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01771, allocations: 0 / 339.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.01772, allocations: 11.97 kB / 339.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.01772, allocations: 0 / 339.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01772, allocations: 4 kB / 339.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.01794, allocations: 227.6 kB / 339.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.01795, allocations: 7.938 kB / 339.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.01797, allocations: 4 kB / 339.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.018, allocations: 12 kB / 339.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.01803, allocations: 3.938 kB / 339.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.01805, allocations: 4 kB / 339.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.817e-05/0.0181, allocations: 139.2 kB / 339.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0181, allocations: 0 / 339.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.01835, allocations: 43.86 kB / 339.8 MB, free: 10.07 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.003611/0.02196, allocations: 241.6 kB / 340 MB, free: 9.867 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.02218, allocations: 182.5 kB / 340.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.02218, allocations: 0 / 340.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.02226, allocations: 124.8 kB / 340.3 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.02245, allocations: 11.38 kB / 340.3 MB, free: 9.508 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.0228, allocations: 220.1 kB / 340.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.02284, allocations: 63.34 kB / 340.6 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.827e-05/0.02285, allocations: 0 / 340.6 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.02288, allocations: 12.5 kB / 340.6 MB, free: 9.164 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02288, allocations: 4 kB / 340.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of Templates: time 0.006909/0.02979, allocations: 1.599 MB / 342.2 MB, free: 7.574 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.951568396296352]