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.001358/0.001358, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001108/0.001108, allocations: 161 kB / 23.82 MB, free: 0.7461 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.972/0.972, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.00404/0.00404, allocations: 0.7915 MB / 261.5 MB, free: 12.28 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.984e-06/1.984e-06, allocations: 0 / 331.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.949e-05, allocations: 4.703 kB / 331.4 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001847/0.001866, allocations: 1.309 MB / 332.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.003479, allocations: 1.34 MB / 334 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.00351, allocations: 0 / 334 MB, free: 16.25 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.001056/0.004566, allocations: 275.1 kB / 334.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.025e-05/0.004656, allocations: 63.81 kB / 334.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.004659, allocations: 0 / 334.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.004721, allocations: 39.84 kB / 334.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.899e-05/0.00475, allocations: 0 / 334.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.004786, allocations: 27.91 kB / 334.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.00486, allocations: 31.91 kB / 334.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.004869, allocations: 0 / 334.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.005205, allocations: 255.4 kB / 334.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.005257, allocations: 23.98 kB / 334.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.005272, allocations: 7.938 kB / 334.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.005575, allocations: 255.2 kB / 335 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005577, allocations: 0 / 335 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005579, allocations: 3.984 kB / 335 MB, free: 15.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.005583, allocations: 0 / 335 MB, free: 15.29 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.0002624/0.005845, allocations: 427.8 kB / 335.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.005879, allocations: 12.03 kB / 335.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.005916, allocations: 124.1 kB / 335.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.006023, allocations: 243.7 kB / 335.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.006047, allocations: 242.8 kB / 336 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.006069, allocations: 238.8 kB / 336.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.305e-05/0.006112, allocations: 145.5 kB / 336.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.006128, allocations: 123.4 kB / 336.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.006156, allocations: 246.4 kB / 336.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.006185, allocations: 242.4 kB / 337 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.682e-05/0.006212, allocations: 238.4 kB / 337.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.006392, allocations: 0.5798 MB / 337.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.212e-05/0.006444, allocations: 261.4 kB / 338 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.006462, allocations: 134.8 kB / 338.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.006473, allocations: 123.2 kB / 338.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.006498, allocations: 152.6 kB / 338.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.006499, allocations: 0 / 338.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.974e-05/0.006559, allocations: 33.66 kB / 338.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.006593, allocations: 178.5 kB / 338.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.006692, allocations: 177.9 kB / 338.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-06/0.006696, allocations: 25.7 kB / 338.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.006722, allocations: 134.9 kB / 339 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.006725, allocations: 4 kB / 339 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.006747, allocations: 19.36 kB / 339 MB, free: 11.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.006794, allocations: 492.1 kB / 339.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-06/0.006799, allocations: 7.938 kB / 339.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-06/0.006802, allocations: 0 / 339.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.349e-05/0.006815, allocations: 119.2 kB / 339.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.006826, allocations: 119.2 kB / 339.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.516e-05/0.006881, allocations: 37.75 kB / 339.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.006903, allocations: 123.2 kB / 339.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.006919, allocations: 135 kB / 340 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.036e-05/0.006959, allocations: 242.4 kB / 340.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.498e-05/0.006974, allocations: 123.2 kB / 340.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/0.006998, allocations: 246.3 kB / 340.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.007068, allocations: 123.2 kB / 340.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.007081, allocations: 123.1 kB / 340.8 MB, free: 9.191 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 6.315e-05/0.007144, allocations: 399 kB / 341.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.007183, allocations: 156.8 kB / 341.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.007216, allocations: 152.4 kB / 341.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/0.007242, allocations: 268 kB / 341.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/0.007268, allocations: 268 kB / 342.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.007292, allocations: 280 kB / 342.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.007414, allocations: 499.9 kB / 342.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.007429, allocations: 148.9 kB / 343 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.007445, allocations: 152.8 kB / 343.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-05/0.00748, allocations: 264.1 kB / 343.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.007506, allocations: 268 kB / 343.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/0.007527, allocations: 268.1 kB / 343.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.133e-05/0.007549, allocations: 264.1 kB / 344.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.427e-05/0.007613, allocations: 455.9 kB / 344.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.007633, allocations: 152.8 kB / 344.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.00767, allocations: 268.1 kB / 345 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.007727, allocations: 152.9 kB / 345.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.007755, allocations: 280 kB / 345.4 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.00777, allocations: 149.2 kB / 345.6 MB, free: 4.254 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.307e-05/0.007813, allocations: 139.5 kB / 345.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007813, allocations: 0 / 345.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.00818, allocations: 83.61 kB / 345.8 MB, free: 4.035 MB / 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.0005473/0.008727, allocations: 453.5 kB / 346.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.848e-05/0.008766, allocations: 3.938 kB / 346.2 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008768, allocations: 0 / 346.2 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.008769, allocations: 0 / 346.2 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.009034, allocations: 0.7256 MB / 347 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.00931, allocations: 279.6 kB / 347.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.99e-05/0.00934, allocations: 75.12 kB / 347.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.618e-06/0.00935, allocations: 4 kB / 347.3 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.009368, allocations: 12.5 kB / 347.3 MB, free: 2.492 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009369, allocations: 0 / 347.3 MB, free: 2.492 MB / 266.7 MB Notification: Performance of Templates: time 0.00377/0.01314, allocations: 1.871 MB / 349.2 MB, free: 0.625 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 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8674842319451272]