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.0006708/0.0006708, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008528/0.001524, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009882/0.0009882, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.002063, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9437/0.9437, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08009/1.024, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.01478/0.01478, allocations: 2.255 MB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002487/0.01727, allocations: 1.413 MB / 247.6 MB, free: 11.18 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.493e-06/1.493e-06, allocations: 0 / 248.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.804e-05, allocations: 2.312 kB / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001834/0.001852, allocations: 1.619 MB / 250.5 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003153, allocations: 1.426 MB / 251.9 MB, free: 6.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.003201, allocations: 0 / 251.9 MB, free: 6.852 MB / 250.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.0002325/0.003434, allocations: 55.64 kB / 252 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.003498, allocations: 35.78 kB / 252 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.003676, allocations: 67.73 kB / 252.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.003781, allocations: 67.77 kB / 252.2 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.132e-05/0.003812, allocations: 4 kB / 252.2 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.003897, allocations: 51.91 kB / 252.2 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.003989, allocations: 18.8 kB / 252.2 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.004003, allocations: 4 kB / 252.2 MB, free: 6.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.004176, allocations: 111.8 kB / 252.4 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.00422, allocations: 11.94 kB / 252.4 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.00425, allocations: 8 kB / 252.4 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.004426, allocations: 115.6 kB / 252.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.004441, allocations: 0 / 252.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004442, allocations: 0 / 252.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.004457, allocations: 4 kB / 252.5 MB, free: 6.309 MB / 250.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.0004052/0.004862, allocations: 321.9 kB / 252.8 MB, free: 5.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.004894, allocations: 12.02 kB / 252.8 MB, free: 5.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.004929, allocations: 4.938 kB / 252.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.005064, allocations: 133.7 kB / 253 MB, free: 5.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-06/0.005072, allocations: 384 / 253 MB, free: 5.793 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.005081, allocations: 4.375 kB / 253 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.054e-05/0.005171, allocations: 82.69 kB / 253 MB, free: 5.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005178, allocations: 192 / 253 MB, free: 5.695 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.005187, allocations: 8.375 kB / 253 MB, free: 5.688 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.005192, allocations: 3.938 kB / 253 MB, free: 5.684 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.005228, allocations: 45.69 kB / 253.1 MB, free: 5.633 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.769e-05/0.005306, allocations: 59.88 kB / 253.2 MB, free: 5.559 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.915e-05/0.005355, allocations: 64.27 kB / 253.2 MB, free: 5.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.005388, allocations: 46.56 kB / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-06/0.005392, allocations: 0 / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/0.005501, allocations: 137.7 kB / 253.4 MB, free: 5.266 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 7.61e-07/0.005502, allocations: 0 / 253.4 MB, free: 5.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001481/0.00565, allocations: 170.8 kB / 253.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.005682, allocations: 85.11 kB / 253.6 MB, free: 4.973 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.005747, allocations: 138.5 kB / 253.8 MB, free: 4.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.005757, allocations: 29.7 kB / 253.8 MB, free: 4.789 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.005777, allocations: 88.08 kB / 253.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.005807, allocations: 27.81 kB / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.005836, allocations: 13.72 kB / 253.9 MB, free: 4.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/0.005902, allocations: 326.8 kB / 254.3 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.005929, allocations: 44.53 kB / 254.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.005953, allocations: 45.69 kB / 254.3 MB, free: 4.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.108e-05/0.006014, allocations: 107 kB / 254.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006016, allocations: 0 / 254.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.05e-05/0.006096, allocations: 129 kB / 254.6 MB, free: 3.957 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.00613, allocations: 37.69 kB / 254.6 MB, free: 3.914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006133, allocations: 4 kB / 254.6 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.006141, allocations: 4 kB / 254.6 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.006192, allocations: 4 kB / 254.6 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006195, allocations: 0 / 254.6 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.006235, allocations: 11.89 kB / 254.6 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.006241, allocations: 0 / 254.6 MB, free: 3.891 MB / 250.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 7.097e-05/0.006312, allocations: 150.4 kB / 254.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.006325, allocations: 11.98 kB / 254.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.006343, allocations: 12.44 kB / 254.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.006344, allocations: 0 / 254.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.006346, allocations: 4 kB / 254.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.00635, allocations: 3.938 kB / 254.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.883e-05/0.006408, allocations: 81.81 kB / 254.9 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006409, allocations: 0 / 254.9 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.006421, allocations: 4 kB / 254.9 MB, free: 3.59 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.006432, allocations: 11.88 kB / 254.9 MB, free: 3.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006435, allocations: 4 kB / 254.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.00644, allocations: 0 / 254.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006441, allocations: 0 / 254.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006442, allocations: 0 / 254.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.006549, allocations: 178.1 kB / 255.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.006565, allocations: 8 kB / 255.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.006588, allocations: 3.984 kB / 255.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.00661, allocations: 4 kB / 255.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.006618, allocations: 0 / 255.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.963e-05/0.006638, allocations: 32.77 kB / 255.1 MB, free: 3.316 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.006638, allocations: 0 / 255.1 MB, free: 3.316 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000138/0.006776, allocations: 35.94 kB / 255.2 MB, free: 3.281 MB / 250.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.0006057/0.007381, allocations: 295.2 kB / 255.5 MB, free: 3.062 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.007521, allocations: 171.6 kB / 255.6 MB, free: 2.867 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.007529, allocations: 8 kB / 255.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.007582, allocations: 121.9 kB / 255.7 MB, free: 2.719 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.041e-05/0.007672, allocations: 16 kB / 255.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.008052, allocations: 211.5 kB / 256 MB, free: 2.461 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.008084, allocations: 63.34 kB / 256 MB, free: 2.379 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.324e-05/0.008108, allocations: 8 kB / 256 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.008175, allocations: 71.36 kB / 256.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008175, allocations: 0 / 256.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of Templates: time 0.003538/0.01171, allocations: 1.733 MB / 257.8 MB, free: 0.5859 MB / 250.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.317101997323334]