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.0008936/0.0008936, 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.0009149/0.0009149, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.971/0.971, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.0103/0.0103, allocations: 2.256 MB / 262.2 MB, free: 10.78 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.944e-06/1.944e-06, allocations: 0 / 332.8 MB, free: 1.379 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.026e-05, allocations: 2.312 kB / 332.8 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.00324/0.003271, allocations: 1.571 MB / 334.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.005355, allocations: 1.414 MB / 335.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-05/0.005422, allocations: 0 / 335.8 MB, free: 14.36 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.0004459/0.005868, allocations: 51.7 kB / 335.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.006009, allocations: 35.72 kB / 335.9 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.006312, allocations: 71.86 kB / 335.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.006455, allocations: 67.78 kB / 336 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.006494, allocations: 7.938 kB / 336 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.006589, allocations: 35.89 kB / 336 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.006757, allocations: 19.92 kB / 336 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.006777, allocations: 4 kB / 336.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.00697, allocations: 95.84 kB / 336.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.007037, allocations: 19.92 kB / 336.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.007092, allocations: 15.98 kB / 336.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.007359, allocations: 131.6 kB / 336.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.007365, allocations: 0 / 336.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.007366, allocations: 0 / 336.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.007371, allocations: 0 / 336.3 MB, free: 13.82 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.0005915/0.007963, allocations: 437.8 kB / 336.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.008004, allocations: 12.03 kB / 336.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.008061, allocations: 8.891 kB / 336.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.008224, allocations: 128.5 kB / 336.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.008234, allocations: 4.375 kB / 336.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.008246, allocations: 4.375 kB / 336.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.008366, allocations: 87.88 kB / 337 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.008373, allocations: 192 / 337 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.008384, allocations: 384 / 337 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.008392, allocations: 3.938 kB / 337 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.008439, allocations: 45.69 kB / 337 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.008572, allocations: 132.6 kB / 337.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.051e-05/0.008643, allocations: 68.75 kB / 337.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.008687, allocations: 49.42 kB / 337.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.008694, allocations: 4 kB / 337.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.008811, allocations: 128.4 kB / 337.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.008812, allocations: 4 kB / 337.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002629/0.009075, allocations: 210.8 kB / 337.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.009116, allocations: 89.05 kB / 337.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/0.009212, allocations: 189.8 kB / 337.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.009225, allocations: 25.7 kB / 337.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.009267, allocations: 134.9 kB / 338 MB, free: 11.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.009298, allocations: 23.73 kB / 338.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.009331, allocations: 31.36 kB / 338.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.009446, allocations: 0.4884 MB / 338.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.329e-05/0.00948, allocations: 41.69 kB / 338.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.009507, allocations: 45.69 kB / 338.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.009585, allocations: 103.1 kB / 338.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.009586, allocations: 0 / 338.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001279/0.009714, allocations: 165 kB / 338.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.009745, allocations: 37.69 kB / 339 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.009749, allocations: 0 / 339 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.00976, allocations: 0 / 339 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.00983, allocations: 7.938 kB / 339 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.009835, allocations: 0 / 339 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.009885, allocations: 4 kB / 339 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.009894, allocations: 7.984 kB / 339 MB, free: 10.82 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.476e-05/0.009979, allocations: 194.3 kB / 339.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.009996, allocations: 19.94 kB / 339.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.856e-05/0.01001, allocations: 4.438 kB / 339.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01002, allocations: 3.938 kB / 339.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.01002, allocations: 3.938 kB / 339.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.01002, allocations: 0 / 339.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.755e-05/0.01011, allocations: 140.5 kB / 339.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01011, allocations: 0 / 339.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.01012, allocations: 0 / 339.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01013, allocations: 4 kB / 339.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.01013, allocations: 4 kB / 339.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01014, allocations: 0 / 339.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01014, allocations: 0 / 339.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.01031, allocations: 231.9 kB / 339.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.01032, allocations: 7.953 kB / 339.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.01035, allocations: 4 kB / 339.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.01037, allocations: 3.938 kB / 339.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.01041, allocations: 15.92 kB / 339.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.01042, allocations: 8 kB / 339.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.69e-05/0.01048, allocations: 143.1 kB / 339.8 MB, free: 9.961 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01048, allocations: 0 / 339.8 MB, free: 9.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.01065, allocations: 39.94 kB / 339.8 MB, free: 9.922 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.0005134/0.01117, allocations: 244.5 kB / 340 MB, free: 9.715 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.01132, allocations: 174.5 kB / 340.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01133, allocations: 0 / 340.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.174e-05/0.01139, allocations: 120.8 kB / 340.3 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.01154, allocations: 14.7 kB / 340.3 MB, free: 9.363 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.01186, allocations: 216.1 kB / 340.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.01189, allocations: 63.34 kB / 340.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.919e-05/0.01191, allocations: 7.984 kB / 340.6 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.01193, allocations: 8.5 kB / 340.6 MB, free: 9.02 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01193, allocations: 0 / 340.6 MB, free: 9.02 MB / 314.7 MB Notification: Performance of Templates: time 0.003434/0.01536, allocations: 1.723 MB / 342.3 MB, free: 7.312 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.703015864826739]