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.001135/0.001135, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001774/0.001774, allocations: 169 kB / 24.17 MB, free: 332 kB / 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 1.043/1.043, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.004074/0.004074, allocations: 0.8063 MB / 261.9 MB, free: 12.15 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.192e-06/1.192e-06, allocations: 3.938 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.693e-05, allocations: 5.125 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001776/0.001803, allocations: 1.345 MB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.003164, allocations: 1.352 MB / 281.3 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.003192, allocations: 0 / 281.3 MB, free: 8.707 MB / 266.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.001075/0.004267, allocations: 262.8 kB / 281.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.004618, allocations: 63.8 kB / 281.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.036e-06/0.004621, allocations: 0 / 281.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.004677, allocations: 39.84 kB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.004714, allocations: 4 kB / 281.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.004752, allocations: 19.92 kB / 281.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.004819, allocations: 35.88 kB / 281.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.004827, allocations: 0 / 281.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.005195, allocations: 275.4 kB / 282 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.005243, allocations: 27.95 kB / 282 MB, free: 8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.139e-05/0.005254, allocations: 4 kB / 282 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.005549, allocations: 251.3 kB / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005552, allocations: 0 / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005553, allocations: 0 / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005556, allocations: 0 / 282.3 MB, free: 7.75 MB / 266.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.0002296/0.005786, allocations: 300.2 kB / 282.6 MB, free: 7.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.005817, allocations: 12.02 kB / 282.6 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.005851, allocations: 80.22 kB / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.005958, allocations: 197 kB / 282.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.00599, allocations: 158.9 kB / 283 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.00602, allocations: 150.9 kB / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.218e-05/0.006062, allocations: 105.5 kB / 283.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.006078, allocations: 75.47 kB / 283.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.006115, allocations: 158.7 kB / 283.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.006145, allocations: 150.6 kB / 283.6 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.006176, allocations: 154.5 kB / 283.8 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.006325, allocations: 357.2 kB / 284.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.006383, allocations: 169.1 kB / 284.3 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.006403, allocations: 84.14 kB / 284.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.006421, allocations: 79.28 kB / 284.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.006452, allocations: 105.8 kB / 284.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.006453, allocations: 0 / 284.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.177e-05/0.006505, allocations: 37.58 kB / 284.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.006545, allocations: 126.7 kB / 284.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.006627, allocations: 130.5 kB / 284.8 MB, free: 5.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.006634, allocations: 29.7 kB / 284.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.092e-05/0.006655, allocations: 80.14 kB / 284.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.41e-07/0.006656, allocations: 0 / 284.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.006671, allocations: 13.72 kB / 285 MB, free: 4.906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.006739, allocations: 322.8 kB / 285.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-06/0.006742, allocations: 0 / 285.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-06/0.006746, allocations: 4 kB / 285.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.783e-05/0.006764, allocations: 75.28 kB / 285.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.006782, allocations: 79.28 kB / 285.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.589e-05/0.006828, allocations: 29.64 kB / 285.5 MB, free: 4.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.006854, allocations: 86.09 kB / 285.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.006873, allocations: 75.28 kB / 285.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/0.006909, allocations: 150.6 kB / 285.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.932e-05/0.006929, allocations: 83.22 kB / 285.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-05/0.00696, allocations: 154.5 kB / 286 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.007012, allocations: 87.16 kB / 286.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.007028, allocations: 79.28 kB / 286.2 MB, free: 3.688 MB / 266.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 8.149e-05/0.00711, allocations: 259.2 kB / 286.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.007151, allocations: 113 kB / 286.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.007189, allocations: 112.4 kB / 286.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/0.007228, allocations: 184.2 kB / 286.8 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-05/0.007267, allocations: 180.2 kB / 287 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.814e-05/0.007305, allocations: 180.2 kB / 287.2 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.007439, allocations: 325.4 kB / 287.5 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/0.007462, allocations: 105.3 kB / 287.6 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.007486, allocations: 105 kB / 287.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.317e-05/0.007529, allocations: 188.2 kB / 287.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.007573, allocations: 180.2 kB / 288 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.396e-05/0.007617, allocations: 180.2 kB / 288.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.722e-05/0.007655, allocations: 184.2 kB / 288.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.007757, allocations: 307.7 kB / 288.7 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.007789, allocations: 117 kB / 288.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.007846, allocations: 180.2 kB / 289 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.007895, allocations: 101 kB / 289.1 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.007952, allocations: 180.3 kB / 289.3 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.007977, allocations: 116.9 kB / 289.4 MB, free: 296 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.932e-05/0.008006, allocations: 12.86 kB / 289.4 MB, free: 280 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008006, allocations: 4 kB / 289.4 MB, free: 276 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.008282, allocations: 83.66 kB / 289.5 MB, free: 192 kB / 266.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.09737/0.1057, allocations: 416.7 kB / 289.9 MB, free: 26.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.678e-05/0.1057, allocations: 6.891 kB / 289.9 MB, free: 26.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.1057, allocations: 2.25 kB / 289.9 MB, free: 26.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1057, allocations: 0 / 289.9 MB, free: 26.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.1059, allocations: 475.1 kB / 290.4 MB, free: 26.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.1061, allocations: 242.8 kB / 290.6 MB, free: 25.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.495e-05/0.1062, allocations: 60.19 kB / 290.7 MB, free: 25.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.599e-05/0.1062, allocations: 3.922 kB / 290.7 MB, free: 25.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.1062, allocations: 52.16 kB / 290.7 MB, free: 25.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.193e-06/0.1062, allocations: 1.062 kB / 290.7 MB, free: 25.8 MB / 266.7 MB Notification: Performance of Templates: time 0.004101/0.1103, allocations: 2.143 MB / 292.9 MB, free: 25.64 MB / 266.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.564871811773628]