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.0016/0.0016, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001778/0.001778, allocations: 220.5 kB / 23 MB, free: 4.914 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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.007484/0.007484, allocations: 1.017 MB / 314.2 MB, free: 1.91 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.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: KeyWordIO requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.91 kB / 436.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09426, allocations: 53.58 MB / 490.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.00245/0.09671, allocations: 1.262 MB / 491.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.09886, allocations: 1.294 MB / 493.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.09889, allocations: 0 / 493.1 MB, free: 7.691 MB / 350.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.00141/0.1003, allocations: 282 kB / 493.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.1004, allocations: 55.89 kB / 493.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.1004, allocations: 0 / 493.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.1005, allocations: 39.84 kB / 493.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.1006, allocations: 3.984 kB / 493.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.1006, allocations: 19.92 kB / 493.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1008, allocations: 43.77 kB / 493.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1008, allocations: 0 / 493.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.1012, allocations: 243.7 kB / 493.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.1013, allocations: 27.97 kB / 493.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.1013, allocations: 7.938 kB / 493.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.1017, allocations: 235.3 kB / 494 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1017, allocations: 0 / 494 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1017, allocations: 0 / 494 MB, free: 6.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1017, allocations: 0 / 494 MB, free: 6.754 MB / 350.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.0004174/0.1021, allocations: 321.5 kB / 494.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1022, allocations: 12.03 kB / 494.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.1022, allocations: 80.17 kB / 494.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1024, allocations: 197.8 kB / 494.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.956e-05/0.1025, allocations: 158.9 kB / 494.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.1026, allocations: 150.9 kB / 494.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/0.1027, allocations: 109.1 kB / 495 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.1027, allocations: 79.28 kB / 495.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/0.1028, allocations: 154.6 kB / 495.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/0.1028, allocations: 154.6 kB / 495.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.1029, allocations: 150.6 kB / 495.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.1032, allocations: 409.5 kB / 495.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.894e-05/0.1033, allocations: 165.1 kB / 496.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.1034, allocations: 80.14 kB / 496.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.1034, allocations: 75.28 kB / 496.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/0.1035, allocations: 117.8 kB / 496.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1035, allocations: 0 / 496.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.494e-05/0.1036, allocations: 41.52 kB / 496.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.1036, allocations: 130.7 kB / 496.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1038, allocations: 121.8 kB / 496.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1038, allocations: 25.7 kB / 496.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.1039, allocations: 92.12 kB / 496.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.1039, allocations: 0 / 496.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.1039, allocations: 9.719 kB / 496.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1041, allocations: 314.8 kB / 497.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-06/0.1041, allocations: 4 kB / 497.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-06/0.1041, allocations: 0 / 497.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.1041, allocations: 75.28 kB / 497.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.414e-05/0.1042, allocations: 79.28 kB / 497.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.569e-05/0.1043, allocations: 37.62 kB / 497.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.1043, allocations: 87.22 kB / 497.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/0.1044, allocations: 75.38 kB / 497.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.643e-05/0.1044, allocations: 154.6 kB / 497.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.558e-05/0.1045, allocations: 83.16 kB / 497.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.106e-05/0.1045, allocations: 154.6 kB / 497.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1046, allocations: 79.22 kB / 497.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.1047, allocations: 79.28 kB / 498 MB, free: 2.594 MB / 350.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.0001514/0.1048, allocations: 268.4 kB / 498.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.1049, allocations: 116.9 kB / 498.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.105, allocations: 116.4 kB / 498.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.232e-05/0.1051, allocations: 184.3 kB / 498.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.426e-05/0.1052, allocations: 184.2 kB / 498.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-05/0.1053, allocations: 180.3 kB / 499 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1055, allocations: 356.9 kB / 499.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.851e-05/0.1056, allocations: 104.9 kB / 499.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.1056, allocations: 105 kB / 499.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.921e-05/0.1057, allocations: 180.2 kB / 499.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/0.1058, allocations: 180.2 kB / 499.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.219e-05/0.1059, allocations: 192.2 kB / 0.4884 GB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.852e-05/0.1059, allocations: 184.2 kB / 0.4885 GB, free: 164 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.1061, allocations: 303.7 kB / 0.4888 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.1062, allocations: 116.9 kB / 0.4889 GB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.1063, allocations: 184.2 kB / 0.4891 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-05/0.1064, allocations: 108.9 kB / 0.4892 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.1065, allocations: 176.3 kB / 0.4894 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.1065, allocations: 108.9 kB / 0.4895 GB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.242e-05/0.1066, allocations: 111.2 kB / 0.4896 GB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1066, allocations: 0 / 0.4896 GB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000414/0.107, allocations: 75.67 kB / 0.4897 GB, free: 14.94 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.0007227/0.1077, allocations: 398.1 kB / 0.49 GB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.099e-05/0.1078, allocations: 0 / 0.49 GB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1078, allocations: 0 / 0.49 GB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.1078, allocations: 4 kB / 0.49 GB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.1082, allocations: 455.6 kB / 0.4905 GB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.1086, allocations: 252.5 kB / 0.4907 GB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.1087, allocations: 63.34 kB / 0.4908 GB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.1087, allocations: 11.44 kB / 0.4908 GB, free: 13.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1087, allocations: 0 / 0.4908 GB, free: 13.78 MB / 366.1 MB Notification: Performance of Templates: time 0.004274/0.113, allocations: 2.11 MB / 0.4929 GB, free: 11.67 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: 7.560716276988387] Failed to read output from testmodel.py, exit status != 0: 0.12023845734074712 0.30918738999999995 0.20424823399999995 Calling exit ...