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.001894/0.001894, allocations: 88.72 kB / 19.44 MB, free: 356 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.00257/0.00257, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.572/1.572, allocations: 177.2 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.01782/0.01782, allocations: 2.251 MB / 261.8 MB, free: 10.81 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 2.094e-06/2.094e-06, allocations: 0 / 332.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.205e-05, allocations: 2.312 kB / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002258/0.00229, allocations: 1.532 MB / 333.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.003822, allocations: 1.36 MB / 335 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.003882, allocations: 3.938 kB / 335 MB, free: 13.88 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.0004006/0.004283, allocations: 47.72 kB / 335 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.004389, allocations: 31.84 kB / 335 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.004659, allocations: 83.7 kB / 335.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.004776, allocations: 67.78 kB / 335.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.00481, allocations: 0 / 335.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.004888, allocations: 35.91 kB / 335.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.00505, allocations: 19.97 kB / 335.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.00507, allocations: 7.938 kB / 335.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.006172, allocations: 185.7 kB / 335.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.006232, allocations: 23.92 kB / 335.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.006289, allocations: 15.98 kB / 335.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.00654, allocations: 143.6 kB / 335.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.006545, allocations: 0 / 335.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006546, allocations: 0 / 335.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.006552, allocations: 0 / 335.6 MB, free: 13.29 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.0004391/0.006991, allocations: 335.6 kB / 335.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.007027, allocations: 8.031 kB / 335.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.007088, allocations: 12.89 kB / 336 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.007249, allocations: 129.7 kB / 336.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.007262, allocations: 8.375 kB / 336.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.007274, allocations: 384 / 336.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.007422, allocations: 95.92 kB / 336.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.007431, allocations: 4.188 kB / 336.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.007444, allocations: 4.312 kB / 336.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.00745, allocations: 7.922 kB / 336.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.007528, allocations: 61.67 kB / 336.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.007658, allocations: 113.3 kB / 336.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.387e-05/0.007741, allocations: 72.27 kB / 336.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.007804, allocations: 66.59 kB / 336.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.007816, allocations: 4 kB / 336.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.007963, allocations: 142.7 kB / 336.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.007964, allocations: 0 / 336.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003667/0.00833, allocations: 258.8 kB / 336.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.008365, allocations: 85.05 kB / 337 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.008457, allocations: 129.8 kB / 337.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.008468, allocations: 29.7 kB / 337.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.008495, allocations: 88.08 kB / 337.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.008527, allocations: 23.8 kB / 337.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.008566, allocations: 25.7 kB / 337.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.00862, allocations: 314.8 kB / 337.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.252e-05/0.008673, allocations: 61.69 kB / 337.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.008718, allocations: 69.61 kB / 337.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.00881, allocations: 120.2 kB / 337.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008811, allocations: 0 / 337.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001842/0.008996, allocations: 204.9 kB / 338 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.009028, allocations: 37.7 kB / 338.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.009033, allocations: 0 / 338.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.009056, allocations: 4 kB / 338.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.009124, allocations: 15.92 kB / 338.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.00913, allocations: 0 / 338.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.009199, allocations: 4 kB / 338.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.009209, allocations: 4 kB / 338.1 MB, free: 10.52 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 8.15e-05/0.00929, allocations: 153.8 kB / 338.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.009317, allocations: 15.95 kB / 338.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.00934, allocations: 8.438 kB / 338.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.009342, allocations: 0 / 338.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.009347, allocations: 3.938 kB / 338.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.009349, allocations: 0 / 338.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.818e-05/0.009427, allocations: 121.3 kB / 338.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.009428, allocations: 0 / 338.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.009448, allocations: 11.94 kB / 338.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.00945, allocations: 0 / 338.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.009462, allocations: 4 kB / 338.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.009464, allocations: 3.984 kB / 338.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009465, allocations: 0 / 338.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.009705, allocations: 252.4 kB / 338.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.009718, allocations: 11.83 kB / 338.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.009744, allocations: 4 kB / 338.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.00979, allocations: 7.984 kB / 338.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.009831, allocations: 7.938 kB / 338.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.009847, allocations: 4 kB / 338.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.933e-05/0.009896, allocations: 111.6 kB / 338.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009897, allocations: 0 / 338.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000264/0.01016, allocations: 39.92 kB / 338.8 MB, free: 9.695 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.000767/0.01093, allocations: 235.1 kB / 339.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.01116, allocations: 198.7 kB / 339.3 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01116, allocations: 0 / 339.3 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.01124, allocations: 129.1 kB / 339.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.01145, allocations: 16.22 kB / 339.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.01185, allocations: 235.7 kB / 339.6 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.153e-05/0.01191, allocations: 75.33 kB / 339.7 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.275e-05/0.01193, allocations: 3.984 kB / 339.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.01195, allocations: 16.44 kB / 339.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01196, allocations: 0 / 339.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of Templates: time 0.004879/0.01683, allocations: 1.598 MB / 341.3 MB, free: 7.156 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.465637864894234]