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.001278/0.001278, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.001567/0.001567, allocations: 173.1 kB / 23.28 MB, free: 1.215 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.9632/0.9632, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.01519/0.01519, allocations: 2.261 MB / 262.5 MB, free: 10.61 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.663e-06/1.663e-06, allocations: 0 / 333.2 MB, free: 1.246 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.419e-05, allocations: 2.312 kB / 333.2 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002508/0.002532, allocations: 1.573 MB / 334.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.003867, allocations: 1.406 MB / 336.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.003925, allocations: 0 / 336.2 MB, free: 14.24 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.0003587/0.004284, allocations: 47.77 kB / 336.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.004372, allocations: 35.72 kB / 336.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.004571, allocations: 83.72 kB / 336.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.982e-05/0.004661, allocations: 59.84 kB / 336.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/0.004691, allocations: 3.984 kB / 336.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.004758, allocations: 35.92 kB / 336.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.004855, allocations: 19.91 kB / 336.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.004867, allocations: 8 kB / 336.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.004996, allocations: 103.8 kB / 336.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.005047, allocations: 11.92 kB / 336.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.005092, allocations: 19.92 kB / 336.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.005277, allocations: 127.7 kB / 336.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.005279, allocations: 0 / 336.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00528, allocations: 4 kB / 336.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005284, allocations: 0 / 336.7 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.0003674/0.005651, allocations: 433.9 kB / 337.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.005684, allocations: 8.031 kB / 337.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.005717, allocations: 12.89 kB / 337.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.005852, allocations: 136.5 kB / 337.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.005859, allocations: 384 / 337.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.005868, allocations: 4.375 kB / 337.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.005956, allocations: 75.94 kB / 337.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.005962, allocations: 192 / 337.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.005968, allocations: 384 / 337.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.005974, allocations: 3.938 kB / 337.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.233e-05/0.006006, allocations: 45.67 kB / 337.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.006114, allocations: 109.2 kB / 337.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.592e-05/0.006159, allocations: 68.69 kB / 337.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.006189, allocations: 53.33 kB / 337.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.006197, allocations: 8.031 kB / 337.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.915e-05/0.006297, allocations: 124.6 kB / 337.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 7.61e-07/0.006297, allocations: 4 kB / 337.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002128/0.00651, allocations: 194.7 kB / 338 MB, free: 12.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.006544, allocations: 85.09 kB / 338.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.00663, allocations: 189.8 kB / 338.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.006644, allocations: 29.7 kB / 338.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.006687, allocations: 138.8 kB / 338.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.006717, allocations: 19.86 kB / 338.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.006755, allocations: 35.34 kB / 338.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.006876, allocations: 0.4884 MB / 339 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.006907, allocations: 37.69 kB / 339 MB, free: 11.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.006935, allocations: 41.69 kB / 339.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.395e-05/0.007009, allocations: 95.03 kB / 339.1 MB, free: 11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.007012, allocations: 3.984 kB / 339.2 MB, free: 11 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001433/0.007155, allocations: 153 kB / 339.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.979e-05/0.007195, allocations: 41.69 kB / 339.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.007201, allocations: 0 / 339.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.007212, allocations: 0 / 339.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.007269, allocations: 8 kB / 339.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.007274, allocations: 3.938 kB / 339.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.007319, allocations: 7.938 kB / 339.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.007326, allocations: 4 kB / 339.4 MB, free: 10.76 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.218e-05/0.007408, allocations: 194.3 kB / 339.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.007423, allocations: 11.95 kB / 339.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.007442, allocations: 12.42 kB / 339.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.007445, allocations: 4 kB / 339.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.007448, allocations: 7.938 kB / 339.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007451, allocations: 3.938 kB / 339.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.421e-05/0.007525, allocations: 117.2 kB / 339.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.007527, allocations: 4 kB / 339.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-05/0.007541, allocations: 0 / 339.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.007543, allocations: 0 / 339.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.007552, allocations: 7.984 kB / 339.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.007552, allocations: 0 / 339.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007553, allocations: 0 / 339.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.007709, allocations: 223.6 kB / 339.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.00772, allocations: 3.953 kB / 339.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.007736, allocations: 7.984 kB / 340 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.719e-05/0.007763, allocations: 4 kB / 340 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.007785, allocations: 8 kB / 340 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.007796, allocations: 4 kB / 340 MB, free: 10.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.007845, allocations: 139.2 kB / 340.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007845, allocations: 0 / 340.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.008014, allocations: 43.92 kB / 340.1 MB, free: 9.898 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.0004364/0.00845, allocations: 247.8 kB / 340.4 MB, free: 9.688 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.008608, allocations: 174.5 kB / 340.6 MB, free: 9.488 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.00861, allocations: 3.938 kB / 340.6 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.008671, allocations: 116.8 kB / 340.7 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.008821, allocations: 15.94 kB / 340.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.009164, allocations: 212.2 kB / 340.9 MB, free: 9.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.357e-05/0.009207, allocations: 66.84 kB / 341 MB, free: 9.008 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.393e-05/0.009231, allocations: 0 / 341 MB, free: 9.008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.009312, allocations: 90.19 kB / 341.1 MB, free: 8.918 MB / 314.7 MB Notification: Performance of SimCode: time 9.21e-07/0.009312, allocations: 0 / 341.1 MB, free: 8.918 MB / 314.7 MB Notification: Performance of Templates: time 0.003207/0.01252, allocations: 1.735 MB / 342.8 MB, free: 7.199 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.8035424947738647]