Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.001542/0.001542, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001865/0.001865, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.623/1.623, allocations: 230.6 MB / 256 MB, free: 7.809 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.007276/0.007276, allocations: 1.024 MB / 313.4 MB, free: 1.898 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.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") [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.002163/0.002163, allocations: 63.89 kB / 436.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.112, allocations: 53.58 MB / 489.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001747/0.1137, allocations: 493 kB / 490.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.1164, allocations: 1.422 MB / 491.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.1164, allocations: 3.938 kB / 491.6 MB, free: 8.348 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/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001647/0.118, allocations: 323.9 kB / 492 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.1181, allocations: 31.91 kB / 492 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.807e-05/0.1182, allocations: 11.94 kB / 492 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.857e-05/0.1182, allocations: 27.95 kB / 492 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.1183, allocations: 4 kB / 492 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.988e-05/0.1183, allocations: 11.94 kB / 492 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.1184, allocations: 23.91 kB / 492.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1184, allocations: 4 kB / 492.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.1189, allocations: 319.6 kB / 492.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.1189, allocations: 19.98 kB / 492.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.119, allocations: 7.984 kB / 492.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.1194, allocations: 275.2 kB / 492.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1194, allocations: 0 / 492.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1194, allocations: 0 / 492.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1194, allocations: 0 / 492.7 MB, free: 7.312 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.0004845/0.1199, allocations: 333.5 kB / 493 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.12, allocations: 8.031 kB / 493 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.12, allocations: 84.2 kB / 493.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1203, allocations: 205.7 kB / 493.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.096e-05/0.1203, allocations: 154.9 kB / 493.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.1205, allocations: 150.9 kB / 493.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1206, allocations: 109.1 kB / 493.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.1207, allocations: 75.28 kB / 493.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/0.1207, allocations: 158.5 kB / 493.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.461e-05/0.1208, allocations: 150.6 kB / 494.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.1209, allocations: 150.6 kB / 494.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.1212, allocations: 401.5 kB / 494.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1213, allocations: 173.1 kB / 494.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.1214, allocations: 88.12 kB / 494.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.1214, allocations: 79.28 kB / 494.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.1216, allocations: 71.25 kB / 495 MB, free: 4.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.1216, allocations: 3.938 kB / 495 MB, free: 4.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.1218, allocations: 33.7 kB / 495.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.1218, allocations: 63.47 kB / 495.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.122, allocations: 113.8 kB / 495.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.122, allocations: 25.7 kB / 495.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.1221, allocations: 80.14 kB / 495.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.1221, allocations: 7.953 kB / 495.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1221, allocations: 13.72 kB / 495.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1223, allocations: 314.8 kB / 495.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.1223, allocations: 4 kB / 495.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-06/0.1223, allocations: 0 / 495.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.962e-05/0.1223, allocations: 8.859 kB / 495.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1223, allocations: 4.062 kB / 495.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.132e-05/0.1224, allocations: 37.64 kB / 495.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1224, allocations: 7.938 kB / 495.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1224, allocations: 256 / 495.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1224, allocations: 4 kB / 495.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.04e-05/0.1224, allocations: 7.984 kB / 495.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1225, allocations: 0 / 495.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.1225, allocations: 0 / 495.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1225, allocations: 0 / 495.7 MB, free: 4.07 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.000122/0.1226, allocations: 113.8 kB / 495.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.1226, allocations: 15.95 kB / 495.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.1227, allocations: 11.41 kB / 495.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1227, allocations: 0 / 495.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1227, allocations: 0 / 495.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1227, allocations: 0 / 495.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.1228, allocations: 105.3 kB / 496 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1228, allocations: 4 kB / 496 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-06/0.1228, allocations: 0 / 496 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1228, allocations: 0 / 496 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1228, allocations: 3.938 kB / 496 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1228, allocations: 3.938 kB / 496 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1228, allocations: 4 kB / 496 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.753e-05/0.1229, allocations: 69.02 kB / 496.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.1229, allocations: 4 kB / 496.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.123, allocations: 3.938 kB / 496.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.123, allocations: 8 kB / 496.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.123, allocations: 3.984 kB / 496.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.123, allocations: 0 / 496.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.1231, allocations: 91.28 kB / 496.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1231, allocations: 0 / 496.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.1235, allocations: 107.5 kB / 496.3 MB, free: 3.469 MB / 350.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001004/0.1245, allocations: 386.4 kB / 496.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.547e-05/0.1246, allocations: 8 kB / 496.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.1246, allocations: 0 / 496.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.1246, allocations: 7.938 kB / 496.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1249, allocations: 11.92 kB / 496.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.1252, allocations: 132.9 kB / 496.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.794e-05/0.1253, allocations: 63.34 kB / 496.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.1253, allocations: 7.984 kB / 496.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.1253, allocations: 15.56 kB / 496.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1253, allocations: 4 kB / 496.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of Templates: time 0.006955/0.1323, allocations: 2.422 MB / 499.3 MB, free: 456 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.71379361115396] Failed to read output from testmodel.py, exit status != 0: 0.14078508503735065 0.166426036 0.042191276 Calling exit ...