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.001595/0.001595, allocations: 110.2 kB / 19.7 MB, free: 2.262 MB / 14.72 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.001576/0.001576, allocations: 224.2 kB / 23.01 MB, free: 4.613 MB / 14.72 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 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.01867/0.01867, allocations: 3.264 MB / 316.5 MB, free: 15.86 MB / 254.1 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: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 440.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1062, allocations: 54.37 MB / 495.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003013/0.1093, allocations: 1.533 MB / 496.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1113, allocations: 1.402 MB / 498.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.1114, allocations: 0 / 498.1 MB, free: 2.441 MB / 350.1 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.000378/0.1118, allocations: 51.72 kB / 498.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.1119, allocations: 23.86 kB / 498.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1122, allocations: 87.78 kB / 498.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1123, allocations: 59.78 kB / 498.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.1123, allocations: 7.984 kB / 498.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.1124, allocations: 23.92 kB / 498.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.1134, allocations: 39.47 kB / 498.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1134, allocations: 4 kB / 498.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.1136, allocations: 99.86 kB / 498.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.1137, allocations: 15.97 kB / 498.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.1137, allocations: 27.8 kB / 498.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1139, allocations: 123.6 kB / 498.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.114, allocations: 0 / 498.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.114, allocations: 0 / 498.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.114, allocations: 0 / 498.7 MB, free: 1.891 MB / 350.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.0004927/0.1145, allocations: 335.6 kB / 499 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1145, allocations: 16.03 kB / 499 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.1145, allocations: 8.891 kB / 499 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1148, allocations: 134.4 kB / 499.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1148, allocations: 384 / 499.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.1148, allocations: 4.375 kB / 499.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.115, allocations: 69.97 kB / 499.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.115, allocations: 0 / 499.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.115, allocations: 3.938 kB / 499.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.115, allocations: 0 / 499.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/0.115, allocations: 31.98 kB / 499.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.1152, allocations: 144.7 kB / 499.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.915e-05/0.1153, allocations: 42.56 kB / 499.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.1154, allocations: 32.89 kB / 499.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1154, allocations: 4 kB / 499.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.1156, allocations: 109 kB / 499.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1156, allocations: 11.94 kB / 499.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003515/0.1159, allocations: 187.5 kB / 499.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.116, allocations: 81.11 kB / 499.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1161, allocations: 137.7 kB / 0.4883 GB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1161, allocations: 25.7 kB / 0.4883 GB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.1162, allocations: 92.12 kB / 0.4884 GB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1162, allocations: 19.89 kB / 0.4884 GB, free: 248 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.1162, allocations: 17.72 kB / 0.4884 GB, free: 224 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1164, allocations: 326.8 kB / 0.4887 GB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.1165, allocations: 20 kB / 0.4888 GB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-05/0.1165, allocations: 31.92 kB / 0.4888 GB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1166, allocations: 124.1 kB / 0.4889 GB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1166, allocations: 0 / 0.4889 GB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002156/0.1169, allocations: 167.2 kB / 0.4891 GB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.1169, allocations: 33.7 kB / 0.4891 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1169, allocations: 7.984 kB / 0.4891 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1169, allocations: 0 / 0.4891 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.117, allocations: 4 kB / 0.4891 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.117, allocations: 4 kB / 0.4891 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.117, allocations: 7.953 kB / 0.4891 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1171, allocations: 4 kB / 0.4891 GB, free: 15.46 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 0.0001245/0.1172, allocations: 155.5 kB / 0.4893 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.1172, allocations: 7.938 kB / 0.4893 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.1172, allocations: 8.375 kB / 0.4893 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.1172, allocations: 96 / 0.4893 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1172, allocations: 3.938 kB / 0.4893 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1172, allocations: 3.984 kB / 0.4893 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.1174, allocations: 164.6 kB / 0.4895 GB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1174, allocations: 0 / 0.4895 GB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.1174, allocations: 7.938 kB / 0.4895 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1174, allocations: 3.938 kB / 0.4895 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1174, allocations: 4 kB / 0.4895 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1174, allocations: 0 / 0.4895 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1174, allocations: 0 / 0.4895 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.1177, allocations: 222.9 kB / 0.4897 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.1177, allocations: 7.938 kB / 0.4897 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.1178, allocations: 4 kB / 0.4897 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.1178, allocations: 7.984 kB / 0.4897 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.1178, allocations: 4 kB / 0.4897 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1178, allocations: 4 kB / 0.4897 GB, free: 14.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.12e-05/0.1179, allocations: 103.3 kB / 0.4898 GB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1179, allocations: 0 / 0.4898 GB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1182, allocations: 39.92 kB / 0.4899 GB, free: 14.64 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.001201/0.1194, allocations: 228.1 kB / 0.4901 GB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.1196, allocations: 135.3 kB / 0.4902 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1196, allocations: 0 / 0.4902 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1197, allocations: 95.39 kB / 0.4903 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.12, allocations: 7.938 kB / 0.4903 GB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.1204, allocations: 211.2 kB / 0.4905 GB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1207, allocations: 0.6846 MB / 0.4912 GB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.1207, allocations: 7.438 kB / 0.4912 GB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1207, allocations: 0 / 0.4912 GB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.00369/0.1244, allocations: 1.544 MB / 0.4927 GB, free: 11.69 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: 7.364333070116118] Failed to read output from testmodel.py, exit status != 0: 0.1327098140027374 0.354397804 0.23671339900000002 Calling exit ...