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.00138/0.00138, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001504/0.001504, allocations: 170 kB / 22.46 MB, free: 5.359 MB / 14.72 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.352/1.352, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.006534/0.006534, allocations: 0.7989 MB / 260 MB, free: 15.91 MB / 254.1 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.202e-06/1.202e-06, allocations: 0 / 382.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.815e-05, allocations: 2.281 kB / 382.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002108/0.002126, allocations: 1.276 MB / 384 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.004007, allocations: 1.309 MB / 385.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.004036, allocations: 0 / 385.4 MB, free: 1.172 MB / 302.1 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.001193/0.005229, allocations: 269.5 kB / 385.6 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.005354, allocations: 67.75 kB / 385.7 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.005357, allocations: 0 / 385.7 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.156e-05/0.005429, allocations: 35.84 kB / 385.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.674e-05/0.005455, allocations: 0 / 385.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.005504, allocations: 27.91 kB / 385.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.005641, allocations: 23.97 kB / 385.8 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.005651, allocations: 4 kB / 385.8 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.006066, allocations: 255.5 kB / 386 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.006125, allocations: 31.91 kB / 386.1 MB, free: 484 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.006141, allocations: 4 kB / 386.1 MB, free: 480 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.006539, allocations: 251.3 kB / 386.3 MB, free: 228 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006541, allocations: 0 / 386.3 MB, free: 228 kB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006542, allocations: 0 / 386.3 MB, free: 228 kB / 302.1 MB Notification: Performance of Transformations before backend: time 3.115e-06/0.006545, allocations: 0 / 386.3 MB, free: 228 kB / 302.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.0003831/0.006928, allocations: 329.5 kB / 386.6 MB, free: 15.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.006961, allocations: 8.031 kB / 386.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.007016, allocations: 80.16 kB / 386.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.007205, allocations: 212.9 kB / 386.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.007269, allocations: 154.9 kB / 387.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.007328, allocations: 150.9 kB / 387.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.039e-05/0.007398, allocations: 105.5 kB / 387.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.007431, allocations: 75.47 kB / 387.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.007497, allocations: 158.7 kB / 387.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/0.007556, allocations: 150.6 kB / 387.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.243e-05/0.007619, allocations: 150.6 kB / 387.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.007901, allocations: 417.5 kB / 388.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.007992, allocations: 165.1 kB / 388.4 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.008033, allocations: 80.14 kB / 388.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.008069, allocations: 83.28 kB / 388.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.008125, allocations: 105.8 kB / 388.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.008126, allocations: 0 / 388.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001215/0.008247, allocations: 37.59 kB / 388.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.008314, allocations: 130.6 kB / 388.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.008455, allocations: 129.8 kB / 389 MB, free: 13.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.008469, allocations: 25.7 kB / 389 MB, free: 13.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.008516, allocations: 88.14 kB / 389.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.008517, allocations: 0 / 389.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.008542, allocations: 17.7 kB / 389.1 MB, free: 13.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.008677, allocations: 314.8 kB / 389.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-06/0.00868, allocations: 3.938 kB / 389.4 MB, free: 12.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-06/0.008682, allocations: 0 / 389.4 MB, free: 12.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.008713, allocations: 75.28 kB / 389.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.261e-05/0.008746, allocations: 79.28 kB / 389.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.551e-05/0.008801, allocations: 29.64 kB / 389.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.008846, allocations: 83.28 kB / 389.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/0.00888, allocations: 79.28 kB / 389.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.402e-05/0.008954, allocations: 154.5 kB / 389.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.623e-05/0.00899, allocations: 87.16 kB / 390 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.268e-05/0.009053, allocations: 150.6 kB / 390.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.009144, allocations: 87.27 kB / 390.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.009176, allocations: 79.28 kB / 390.3 MB, free: 12.04 MB / 318.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 0.0001334/0.009309, allocations: 264.4 kB / 390.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.00938, allocations: 112.9 kB / 390.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.084e-05/0.00944, allocations: 116.2 kB / 390.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.998e-05/0.00951, allocations: 176.3 kB / 390.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.936e-05/0.00959, allocations: 184.1 kB / 391.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-05/0.009665, allocations: 184.2 kB / 391.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.00989, allocations: 356.9 kB / 391.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.185e-05/0.009942, allocations: 112.9 kB / 391.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.009985, allocations: 109 kB / 391.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.589e-05/0.01006, allocations: 180.2 kB / 392 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.01013, allocations: 176.3 kB / 392.2 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-05/0.01021, allocations: 180.3 kB / 392.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.229e-05/0.01028, allocations: 184.2 kB / 392.6 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.01044, allocations: 311.7 kB / 392.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.01049, allocations: 108.9 kB / 393 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.01058, allocations: 188.2 kB / 393.2 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.01067, allocations: 101 kB / 393.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.01075, allocations: 180.2 kB / 393.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.01081, allocations: 116.9 kB / 393.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.01088, allocations: 99.27 kB / 393.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01088, allocations: 0 / 393.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.01128, allocations: 87.59 kB / 393.7 MB, free: 8.402 MB / 318.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.000732/0.01201, allocations: 416.7 kB / 394.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 4.162e-05/0.01205, allocations: 8 kB / 394.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01205, allocations: 0 / 394.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01205, allocations: 0 / 394.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.01245, allocations: 459.6 kB / 394.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.01279, allocations: 235.9 kB / 394.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.003e-05/0.01286, allocations: 75.33 kB / 394.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.151e-05/0.01287, allocations: 0 / 394.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.0129, allocations: 20.48 kB / 394.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.0129, allocations: 0 / 394.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of Templates: time 0.004778/0.01768, allocations: 1.841 MB / 396.8 MB, free: 5.371 MB / 318.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: 3.9151929430663586] Failed to read output from testmodel.py, exit status != 0: 0.02532123774290085 0.039488196 0.030017722 Calling exit ...