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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006952/0.006952, allocations: 1.025 MB / 305.5 MB, free: 3.438 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001807/0.001807, allocations: 67.88 kB / 425.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3135, allocations: 52.36 MB / 477.7 MB, free: 28.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002359/0.3158, allocations: 1.272 MB / 479 MB, free: 27.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3176, allocations: 1.285 MB / 480.3 MB, free: 26.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.3176, allocations: 4 kB / 480.3 MB, free: 26.66 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.001378/0.319, allocations: 264.1 kB / 480.5 MB, free: 26.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/0.3191, allocations: 49.58 kB / 480.6 MB, free: 26.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.3191, allocations: 3.344 kB / 480.6 MB, free: 26.51 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.3191, allocations: 38.52 kB / 480.6 MB, free: 26.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.3192, allocations: 0 / 480.6 MB, free: 26.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.3192, allocations: 24.16 kB / 480.6 MB, free: 26.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.3194, allocations: 37.44 kB / 480.7 MB, free: 26.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3194, allocations: 0 / 480.7 MB, free: 26.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.3197, allocations: 266.1 kB / 480.9 MB, free: 26.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.3198, allocations: 38.59 kB / 481 MB, free: 26.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.3198, allocations: 6.469 kB / 481 MB, free: 26.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.3201, allocations: 235.3 kB / 481.2 MB, free: 26.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3201, allocations: 0 / 481.2 MB, free: 26.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3201, allocations: 0 / 481.2 MB, free: 26.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3201, allocations: 0 / 481.2 MB, free: 26.29 MB / 366.1 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.0003172/0.3204, allocations: 400.4 kB / 481.6 MB, free: 25.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3205, allocations: 9.031 kB / 481.6 MB, free: 25.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3205, allocations: 79.09 kB / 481.7 MB, free: 25.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3207, allocations: 256.5 kB / 481.9 MB, free: 25.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.3207, allocations: 157 kB / 482.1 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3207, allocations: 150.9 kB / 482.2 MB, free: 25.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.071e-05/0.3208, allocations: 109 kB / 482.3 MB, free: 25.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3208, allocations: 79.27 kB / 482.4 MB, free: 25.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.3208, allocations: 154.6 kB / 482.6 MB, free: 24.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.3208, allocations: 150.6 kB / 482.7 MB, free: 24.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.3208, allocations: 153.5 kB / 482.9 MB, free: 24.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.321, allocations: 448.5 kB / 483.3 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.3211, allocations: 184.1 kB / 483.5 MB, free: 23.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.3211, allocations: 83.33 kB / 483.6 MB, free: 23.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3211, allocations: 75.33 kB / 483.6 MB, free: 23.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.3211, allocations: 113.8 kB / 483.8 MB, free: 23.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.3211, allocations: 0 / 483.8 MB, free: 23.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.748e-05/0.3212, allocations: 32.81 kB / 483.8 MB, free: 23.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3212, allocations: 134.6 kB / 483.9 MB, free: 23.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3213, allocations: 132.2 kB / 484 MB, free: 23.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.3213, allocations: 25.7 kB / 484.1 MB, free: 23.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.262e-05/0.3214, allocations: 90.41 kB / 484.2 MB, free: 23.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.3214, allocations: 0 / 484.2 MB, free: 23.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.3214, allocations: 13.72 kB / 484.2 MB, free: 23.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.3214, allocations: 310.8 kB / 484.5 MB, free: 22.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.3214, allocations: 7.156 kB / 484.5 MB, free: 22.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-06/0.3214, allocations: 0 / 484.5 MB, free: 22.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.249e-05/0.3214, allocations: 79.28 kB / 484.6 MB, free: 22.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.3215, allocations: 75.28 kB / 484.6 MB, free: 22.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.842e-05/0.3215, allocations: 36.22 kB / 484.7 MB, free: 22.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3215, allocations: 81.56 kB / 484.7 MB, free: 22.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3215, allocations: 79.22 kB / 484.8 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.3216, allocations: 154.6 kB / 485 MB, free: 22.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-05/0.3216, allocations: 82.12 kB / 485.1 MB, free: 22.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.3216, allocations: 154.6 kB / 485.2 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.3217, allocations: 75.44 kB / 485.3 MB, free: 22.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3217, allocations: 89.39 kB / 485.4 MB, free: 22.03 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: 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 6.224e-05/0.3217, allocations: 262.2 kB / 485.6 MB, free: 21.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.3218, allocations: 111.8 kB / 485.7 MB, free: 21.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.3218, allocations: 121.9 kB / 485.9 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.3218, allocations: 176.3 kB / 486 MB, free: 21.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/0.3219, allocations: 176.3 kB / 486.2 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/0.3219, allocations: 186.5 kB / 486.4 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.322, allocations: 403.4 kB / 486.8 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.322, allocations: 116.3 kB / 486.9 MB, free: 20.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.322, allocations: 108.9 kB / 487 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.16e-05/0.3221, allocations: 179.8 kB / 487.2 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3221, allocations: 180.2 kB / 487.3 MB, free: 19.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-05/0.3221, allocations: 179.5 kB / 487.5 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-05/0.3222, allocations: 184.2 kB / 487.7 MB, free: 19.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.477e-05/0.3222, allocations: 313.2 kB / 488 MB, free: 19.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3223, allocations: 182 kB / 488.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.3223, allocations: 183 kB / 488.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.3224, allocations: 108.3 kB / 488.5 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.3224, allocations: 188.2 kB / 488.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3224, allocations: 108 kB / 488.8 MB, free: 18.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.164e-05/0.3225, allocations: 97.59 kB / 488.9 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3225, allocations: 0 / 488.9 MB, free: 18.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.3228, allocations: 85.66 kB / 488.9 MB, free: 18.36 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: 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.0006641/0.3235, allocations: 406.2 kB / 489.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.755e-05/0.3236, allocations: 2.969 kB / 489.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3236, allocations: 0 / 489.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3236, allocations: 0 / 489.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3238, allocations: 462.8 kB / 489.8 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.3241, allocations: 253.8 kB / 490 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.3242, allocations: 0.6942 MB / 490.7 MB, free: 16.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.257e-05/0.3242, allocations: 3.156 kB / 490.7 MB, free: 16.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.3243, allocations: 10.53 kB / 490.7 MB, free: 16.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3243, allocations: 0 / 490.7 MB, free: 16.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004319/0.3286, allocations: 1.827 MB / 492.6 MB, free: 16.52 MB / 366.1 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.617862068116665]