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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 190.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.01575/0.01575, allocations: 2.982 MB / 307.5 MB, free: 3.219 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00198/0.00198, allocations: 71.89 kB / 428.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2829, allocations: 53.06 MB / 481.8 MB, free: 27.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002403/0.2853, allocations: 1.532 MB / 483.3 MB, free: 26.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2868, allocations: 1.342 MB / 484.7 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.2869, allocations: 0 / 484.7 MB, free: 25.8 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:53:3-77:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.2872, allocations: 49.78 kB / 484.7 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.2873, allocations: 32.44 kB / 484.7 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.2875, allocations: 78.59 kB / 484.8 MB, free: 25.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2876, allocations: 58.98 kB / 484.9 MB, free: 25.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.2877, allocations: 10.47 kB / 484.9 MB, free: 25.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.2877, allocations: 31.88 kB / 484.9 MB, free: 25.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008118/0.2958, allocations: 27.12 kB / 484.9 MB, free: 25.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.2959, allocations: 7.031 kB / 484.9 MB, free: 25.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.2961, allocations: 100.5 kB / 485 MB, free: 25.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.2962, allocations: 17.8 kB / 485.1 MB, free: 25.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.2962, allocations: 28.72 kB / 485.1 MB, free: 25.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.2965, allocations: 121.9 kB / 485.2 MB, free: 25.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2965, allocations: 0 / 485.2 MB, free: 25.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2965, allocations: 0 / 485.2 MB, free: 25.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2965, allocations: 0 / 485.2 MB, free: 25.56 MB / 366.1 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.0004368/0.2969, allocations: 408.2 kB / 485.6 MB, free: 25.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.297, allocations: 17.05 kB / 485.6 MB, free: 25.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.297, allocations: 8.047 kB / 485.6 MB, free: 25.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.2972, allocations: 196.1 kB / 485.8 MB, free: 24.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.2973, allocations: 384 / 485.8 MB, free: 24.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.2973, allocations: 3.531 kB / 485.8 MB, free: 24.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2974, allocations: 67.77 kB / 485.9 MB, free: 24.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2974, allocations: 0 / 485.9 MB, free: 24.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2974, allocations: 0 / 485.9 MB, free: 24.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2974, allocations: 3.031 kB / 485.9 MB, free: 24.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.2975, allocations: 29.84 kB / 485.9 MB, free: 24.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.2976, allocations: 181.3 kB / 486.1 MB, free: 24.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.659e-05/0.2977, allocations: 45.41 kB / 486.1 MB, free: 24.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.2977, allocations: 34.95 kB / 486.2 MB, free: 24.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.2978, allocations: 0 / 486.2 MB, free: 24.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.2979, allocations: 108.6 kB / 486.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2979, allocations: 0 / 486.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003141/0.2982, allocations: 196.5 kB / 486.5 MB, free: 24.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2982, allocations: 80.2 kB / 486.6 MB, free: 24.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.2983, allocations: 130 kB / 486.7 MB, free: 24.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.547e-06/0.2983, allocations: 25.7 kB / 486.7 MB, free: 24.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.2984, allocations: 90.41 kB / 486.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.2984, allocations: 18.88 kB / 486.8 MB, free: 24.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.2984, allocations: 22.91 kB / 486.8 MB, free: 24.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.2985, allocations: 321.9 kB / 487.2 MB, free: 23.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.022e-05/0.2985, allocations: 34.7 kB / 487.2 MB, free: 23.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.2985, allocations: 20.12 kB / 487.2 MB, free: 23.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.049e-05/0.2986, allocations: 130.4 kB / 487.3 MB, free: 23.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2986, allocations: 0 / 487.3 MB, free: 23.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001575/0.2988, allocations: 167.2 kB / 487.5 MB, free: 23.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.2988, allocations: 31.92 kB / 487.5 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2988, allocations: 7.25 kB / 487.5 MB, free: 23.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2988, allocations: 0 / 487.5 MB, free: 23.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.2989, allocations: 6.594 kB / 487.5 MB, free: 23.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2989, allocations: 240 / 487.5 MB, free: 23.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.299, allocations: 11.17 kB / 487.6 MB, free: 23.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.299, allocations: 7.312 kB / 487.6 MB, free: 23.47 MB / 366.1 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 7.575e-05/0.299, allocations: 155.6 kB / 487.7 MB, free: 23.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.2991, allocations: 11.2 kB / 487.7 MB, free: 23.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.2991, allocations: 7.5 kB / 487.7 MB, free: 23.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2991, allocations: 0 / 487.7 MB, free: 23.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2991, allocations: 3.469 kB / 487.7 MB, free: 23.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2991, allocations: 4 kB / 487.7 MB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.373e-05/0.2992, allocations: 184 kB / 487.9 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2992, allocations: 0 / 487.9 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.2992, allocations: 10.44 kB / 487.9 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2992, allocations: 2.906 kB / 487.9 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2992, allocations: 6.906 kB / 487.9 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2992, allocations: 0 / 487.9 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2992, allocations: 3.984 kB / 487.9 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.2994, allocations: 209.4 kB / 488.1 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.2994, allocations: 88.05 kB / 488.2 MB, free: 22.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.2995, allocations: 7 kB / 488.2 MB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.2995, allocations: 3.094 kB / 488.2 MB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.2995, allocations: 7.422 kB / 488.2 MB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2996, allocations: 3.188 kB / 488.2 MB, free: 22.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.006e-05/0.2996, allocations: 102.1 kB / 488.3 MB, free: 22.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2996, allocations: 3.938 kB / 488.4 MB, free: 22.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.2998, allocations: 44.95 kB / 488.4 MB, free: 22.75 MB / 366.1 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.0007833/0.3006, allocations: 239 kB / 488.6 MB, free: 22.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.3008, allocations: 139.2 kB / 488.8 MB, free: 22.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3008, allocations: 0 / 488.8 MB, free: 22.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.3009, allocations: 95.08 kB / 488.9 MB, free: 22.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.301, allocations: 6.375 kB / 488.9 MB, free: 22.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.3014, allocations: 197.2 kB / 489.1 MB, free: 22.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.3015, allocations: 0.6952 MB / 489.8 MB, free: 21.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.266e-05/0.3015, allocations: 3.219 kB / 489.8 MB, free: 21.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.3015, allocations: 14.62 kB / 489.8 MB, free: 21.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3015, allocations: 0 / 489.8 MB, free: 21.59 MB / 366.1 MB Notification: Performance of Templates: time 0.004702/0.3062, allocations: 1.519 MB / 491.3 MB, free: 21.43 MB / 366.1 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.7351587964221835]