Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.001074/0.001074, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008454/0.0008454, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.828/0.828, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.003389/0.003389, allocations: 0.7816 MB / 260.7 MB, free: 12.46 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 383.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.029e-05, allocations: 8.953 kB / 383.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001389/0.001409, allocations: 1.261 MB / 384.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.002605, allocations: 1.301 MB / 386.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.002634, allocations: 0 / 386.1 MB, free: 12.58 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.0009968/0.003631, allocations: 274.1 kB / 386.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.00371, allocations: 71.73 kB / 386.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.003714, allocations: 0 / 386.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.003773, allocations: 39.78 kB / 386.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.003811, allocations: 0 / 386.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.003851, allocations: 23.92 kB / 386.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.003926, allocations: 27.91 kB / 386.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.003933, allocations: 0 / 386.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.004203, allocations: 263.4 kB / 386.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.00425, allocations: 23.92 kB / 386.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.004266, allocations: 12 kB / 386.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.004554, allocations: 259.3 kB / 387.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004557, allocations: 0 / 387.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004558, allocations: 0 / 387.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004561, allocations: 0 / 387.1 MB, free: 11.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002689/0.00483, allocations: 325.5 kB / 387.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.00486, allocations: 8.031 kB / 387.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.004901, allocations: 84.17 kB / 387.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.005025, allocations: 197 kB / 387.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.005058, allocations: 150.9 kB / 387.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.005088, allocations: 150.9 kB / 388 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.229e-05/0.00514, allocations: 109.5 kB / 388.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.00516, allocations: 79.47 kB / 388.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.005194, allocations: 154.7 kB / 388.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.005224, allocations: 150.6 kB / 388.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.005257, allocations: 150.6 kB / 388.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.005441, allocations: 405.6 kB / 389 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.419e-05/0.005506, allocations: 173.1 kB / 389.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.00553, allocations: 84.14 kB / 389.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.005552, allocations: 75.28 kB / 389.3 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.005584, allocations: 105.8 kB / 389.4 MB, free: 9.137 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.42e-07/0.005585, allocations: 0 / 389.4 MB, free: 9.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.485e-05/0.00565, allocations: 37.69 kB / 389.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.0057, allocations: 134.6 kB / 389.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.005818, allocations: 125.8 kB / 389.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.005826, allocations: 25.7 kB / 389.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.005854, allocations: 88.12 kB / 389.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.005855, allocations: 0 / 389.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.005871, allocations: 13.72 kB / 389.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.005975, allocations: 314.8 kB / 390.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-06/0.005979, allocations: 3.938 kB / 390.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-06/0.005982, allocations: 0 / 390.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.879e-05/0.006, allocations: 79.28 kB / 390.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.006016, allocations: 79.28 kB / 390.3 MB, free: 8.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.464e-05/0.006051, allocations: 37.64 kB / 390.3 MB, free: 8.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.006075, allocations: 82.56 kB / 390.4 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.006093, allocations: 79.22 kB / 390.5 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.104e-05/0.006134, allocations: 158.6 kB / 390.6 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.739e-05/0.006152, allocations: 87.09 kB / 390.7 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.00618, allocations: 150.6 kB / 390.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.006225, allocations: 75.28 kB / 391 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.006242, allocations: 87.27 kB / 391 MB, free: 7.449 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001375/0.006379, allocations: 268.4 kB / 391.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.006411, allocations: 105 kB / 391.4 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.006448, allocations: 120.4 kB / 391.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.584e-05/0.006484, allocations: 180.2 kB / 391.7 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-05/0.006524, allocations: 184.2 kB / 391.9 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.7e-05/0.006561, allocations: 180.2 kB / 392.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.006683, allocations: 364.8 kB / 392.4 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/0.006706, allocations: 108.9 kB / 392.5 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.006729, allocations: 105 kB / 392.6 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.649e-05/0.006765, allocations: 176.3 kB / 392.8 MB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.006957, allocations: 184.2 kB / 393 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-05/0.006994, allocations: 180.2 kB / 393.1 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.089e-05/0.007035, allocations: 184.2 kB / 393.3 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.361e-05/0.007128, allocations: 311.7 kB / 393.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.007158, allocations: 108.9 kB / 393.7 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.007209, allocations: 184.3 kB / 393.9 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.007262, allocations: 104.9 kB / 394 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.007307, allocations: 180.2 kB / 394.2 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.007333, allocations: 105.5 kB / 394.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.177e-05/0.007384, allocations: 111.2 kB / 394.4 MB, free: 3.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007384, allocations: 0 / 394.4 MB, free: 3.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.007624, allocations: 83.61 kB / 394.5 MB, free: 3.805 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0004736/0.008098, allocations: 413.3 kB / 394.9 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.441e-05/0.008142, allocations: 0 / 394.9 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008144, allocations: 0 / 394.9 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.008146, allocations: 4 kB / 394.9 MB, free: 3.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.008413, allocations: 455.7 kB / 395.3 MB, free: 2.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.008709, allocations: 245.8 kB / 395.6 MB, free: 2.723 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.008755, allocations: 63.34 kB / 395.6 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.008775, allocations: 12.5 kB / 395.7 MB, free: 2.629 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.008776, allocations: 0 / 395.7 MB, free: 2.629 MB / 362.7 MB Notification: Performance of Templates: time 0.003121/0.0119, allocations: 2.121 MB / 397.8 MB, free: 0.5078 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.486140940338373] Failed to read output from testmodel.py, exit status != 0: 0.01650460995733738 0.023719843 0.017497054 Calling exit ...