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.001683/0.001683, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002082/0.002082, allocations: 222.4 kB / 23 MB, free: 4.914 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.0192/0.0192, allocations: 3.272 MB / 316.4 MB, free: 15.62 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.002294/0.002294, allocations: 67.89 kB / 440.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1074, allocations: 54.38 MB / 495.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003748/0.1112, allocations: 1.51 MB / 496.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1142, allocations: 1.348 MB / 498 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1143, allocations: 4 kB / 498 MB, free: 2.078 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.000495/0.1148, allocations: 51.66 kB / 498 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.115, allocations: 35.78 kB / 498.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1153, allocations: 79.78 kB / 498.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1155, allocations: 59.84 kB / 498.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.1156, allocations: 8 kB / 498.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.1157, allocations: 27.86 kB / 498.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1158, allocations: 27.84 kB / 498.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1159, allocations: 4 kB / 498.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.1161, allocations: 95.84 kB / 498.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.1162, allocations: 15.92 kB / 498.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.1162, allocations: 19.92 kB / 498.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1165, allocations: 123.5 kB / 498.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.1165, allocations: 3.984 kB / 498.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1165, allocations: 0 / 498.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1165, allocations: 0 / 498.5 MB, free: 1.535 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.000598/0.1171, allocations: 343.6 kB / 498.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1172, allocations: 12.03 kB / 498.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.1172, allocations: 8.891 kB / 498.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1175, allocations: 122.5 kB / 499 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1175, allocations: 384 / 499 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.1175, allocations: 4.375 kB / 499 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1177, allocations: 95.67 kB / 499.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1177, allocations: 4 kB / 499.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1178, allocations: 11.94 kB / 499.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.1178, allocations: 3.984 kB / 499.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.865e-05/0.1179, allocations: 65.67 kB / 499.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.1181, allocations: 117.3 kB / 499.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1182, allocations: 72.27 kB / 499.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.1183, allocations: 58.59 kB / 499.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.1183, allocations: 4 kB / 499.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.1185, allocations: 146.7 kB / 499.6 MB, free: 340 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1185, allocations: 0 / 499.6 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004234/0.1189, allocations: 254.7 kB / 499.8 MB, free: 60 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.119, allocations: 77.11 kB / 499.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1191, allocations: 141.7 kB / 0.4883 GB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1192, allocations: 29.7 kB / 0.4884 GB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.1192, allocations: 92.14 kB / 0.4884 GB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.1192, allocations: 15.98 kB / 0.4885 GB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1193, allocations: 25.7 kB / 0.4885 GB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1195, allocations: 322.8 kB / 0.4888 GB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.1195, allocations: 61.69 kB / 0.4888 GB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.1196, allocations: 57.62 kB / 0.4889 GB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.1198, allocations: 132.2 kB / 0.489 GB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1198, allocations: 0 / 0.489 GB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002968/0.1201, allocations: 201 kB / 0.4892 GB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.1201, allocations: 37.64 kB / 0.4893 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1201, allocations: 4 kB / 0.4893 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1201, allocations: 3.984 kB / 0.4893 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.1202, allocations: 4 kB / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1202, allocations: 4 kB / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.1203, allocations: 3.953 kB / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1203, allocations: 8 kB / 0.4893 GB, free: 14.76 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.0001521/0.1204, allocations: 151.5 kB / 0.4894 GB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1205, allocations: 7.938 kB / 0.4894 GB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.1205, allocations: 8.375 kB / 0.4894 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1205, allocations: 4 kB / 0.4894 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1205, allocations: 0 / 0.4894 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1205, allocations: 3.984 kB / 0.4894 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1206, allocations: 125.2 kB / 0.4896 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1206, allocations: 0 / 0.4896 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.1206, allocations: 4 kB / 0.4896 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1207, allocations: 0 / 0.4896 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1207, allocations: 11.92 kB / 0.4896 GB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1207, allocations: 0 / 0.4896 GB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1207, allocations: 0 / 0.4896 GB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.121, allocations: 248.4 kB / 0.4898 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.1211, allocations: 11.98 kB / 0.4898 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1211, allocations: 7.938 kB / 0.4898 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.1211, allocations: 11.94 kB / 0.4899 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1212, allocations: 0 / 0.4899 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1212, allocations: 4 kB / 0.4899 GB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.14e-05/0.1213, allocations: 103.3 kB / 0.49 GB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1213, allocations: 3.938 kB / 0.49 GB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1215, allocations: 43.92 kB / 0.49 GB, free: 13.94 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.0008017/0.1223, allocations: 228.4 kB / 0.4902 GB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.1227, allocations: 202.7 kB / 0.4904 GB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1227, allocations: 0 / 0.4904 GB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1228, allocations: 129.1 kB / 0.4905 GB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.123, allocations: 12 kB / 0.4905 GB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.1235, allocations: 232.9 kB / 0.4908 GB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.615e-05/0.1236, allocations: 67.34 kB / 0.4908 GB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.1236, allocations: 15.44 kB / 0.4908 GB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1236, allocations: 0 / 0.4908 GB, free: 13.01 MB / 366.1 MB Notification: Performance of Templates: time 0.004168/0.1278, allocations: 1.569 MB / 0.4924 GB, free: 11.45 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.3495854660868645] Failed to read output from testmodel.py, exit status != 0: 0.13642631378024817 0.15323397 0.033224324 Calling exit ...