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.0009338/0.0009338, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009292/0.0009292, allocations: 169 kB / 23.49 MB, free: 1.051 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.009/1.009, allocations: 177.1 MB / 203.8 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.01293/0.01293, allocations: 2.254 MB / 262.5 MB, free: 10.86 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.513e-06/1.513e-06, allocations: 0 / 332.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.251e-05, allocations: 2.312 kB / 332.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001782/0.001805, allocations: 1.564 MB / 334.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002894, allocations: 1.395 MB / 335.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.002949, allocations: 7.938 kB / 335.8 MB, free: 13.77 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.0003033/0.003252, allocations: 43.77 kB / 335.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.003338, allocations: 39.72 kB / 335.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.003523, allocations: 75.78 kB / 335.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.003617, allocations: 59.78 kB / 336 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.003653, allocations: 11.98 kB / 336 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.003718, allocations: 27.92 kB / 336 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.003811, allocations: 19.92 kB / 336 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.003825, allocations: 4 kB / 336 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.003944, allocations: 103.8 kB / 336.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.003993, allocations: 23.86 kB / 336.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.004027, allocations: 12 kB / 336.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.004194, allocations: 131.6 kB / 336.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004196, allocations: 0 / 336.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004197, allocations: 0 / 336.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.0042, allocations: 0 / 336.3 MB, free: 13.23 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.0002907/0.004491, allocations: 437.8 kB / 336.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.004522, allocations: 12.03 kB / 336.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.004565, allocations: 12.89 kB / 336.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.004683, allocations: 132.5 kB / 336.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.004692, allocations: 4.375 kB / 336.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.004702, allocations: 4.312 kB / 336.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.00479, allocations: 75.95 kB / 337 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.004796, allocations: 192 / 337 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004807, allocations: 384 / 337 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.004813, allocations: 3.938 kB / 337 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.772e-05/0.004851, allocations: 45.69 kB / 337 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.004956, allocations: 136.5 kB / 337.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.004999, allocations: 60.77 kB / 337.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.005035, allocations: 57.36 kB / 337.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.005041, allocations: 4 kB / 337.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.005142, allocations: 132.6 kB / 337.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.005143, allocations: 0 / 337.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002262/0.00537, allocations: 202.7 kB / 337.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.005397, allocations: 92.98 kB / 337.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.005464, allocations: 185.9 kB / 337.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.005471, allocations: 25.7 kB / 337.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.005495, allocations: 130.9 kB / 338 MB, free: 11.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.005521, allocations: 27.78 kB / 338.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.005553, allocations: 27.38 kB / 338.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.005597, allocations: 0.4962 MB / 338.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.005624, allocations: 37.7 kB / 338.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.005646, allocations: 45.69 kB / 338.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.005706, allocations: 99.08 kB / 338.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005708, allocations: 0 / 338.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001128/0.005821, allocations: 172.9 kB / 338.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.005844, allocations: 29.7 kB / 339 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005848, allocations: 4 kB / 339 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005859, allocations: 0 / 339 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.005906, allocations: 11.92 kB / 339 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.005911, allocations: 4 kB / 339 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.748e-05/0.005949, allocations: 4 kB / 339 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.005955, allocations: 0 / 339 MB, free: 10.24 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 6.031e-05/0.006016, allocations: 201 kB / 339.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.006032, allocations: 15.95 kB / 339.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.006048, allocations: 8.578 kB / 339.2 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.006051, allocations: 3.984 kB / 339.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.006055, allocations: 3.938 kB / 339.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006058, allocations: 0 / 339.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.287e-05/0.006121, allocations: 140.5 kB / 339.3 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.006121, allocations: 8 kB / 339.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.006132, allocations: 0 / 339.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006134, allocations: 0 / 339.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.006143, allocations: 4 kB / 339.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006144, allocations: 4 kB / 339.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006144, allocations: 0 / 339.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.006285, allocations: 223.7 kB / 339.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.006295, allocations: 11.89 kB / 339.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.006316, allocations: 8 kB / 339.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.006339, allocations: 7.922 kB / 339.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.006368, allocations: 7.938 kB / 339.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.006379, allocations: 8 kB / 339.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.028e-05/0.00641, allocations: 139.6 kB / 339.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00641, allocations: 0 / 339.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.006577, allocations: 43.92 kB / 339.8 MB, free: 9.328 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.0005616/0.007139, allocations: 240.4 kB / 340 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.007292, allocations: 178.4 kB / 340.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007294, allocations: 8 kB / 340.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.007338, allocations: 128.7 kB / 340.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.007488, allocations: 8 kB / 340.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.00777, allocations: 213.6 kB / 340.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.36e-05/0.007794, allocations: 63.34 kB / 340.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.007811, allocations: 7.984 kB / 340.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.007827, allocations: 8.5 kB / 340.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007828, allocations: 0 / 340.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of Templates: time 0.003071/0.0109, allocations: 1.608 MB / 342.2 MB, free: 6.832 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: 2.7253094548359513]