Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.001273/0.001273, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001386/0.001386, allocations: 212 kB / 20.13 MB, free: 2.949 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.38/1.38, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.006504/0.006504, allocations: 1.019 MB / 310.6 MB, free: 3.258 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: "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="cs",version="2.0",platforms={"static"}) [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.001966/0.001966, allocations: 66.69 kB / 431.3 MB, free: 40.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08659/0.08856, allocations: 53.55 MB / 484.8 MB, free: 18.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001541/0.0901, allocations: 491.8 kB / 485.3 MB, free: 18.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.0917, allocations: 1.354 MB / 486.6 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.09173, allocations: 0 / 486.6 MB, free: 16.96 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.001183/0.09291, allocations: 315.5 kB / 486.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.583e-05/0.09295, allocations: 27.23 kB / 487 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.627e-05/0.09299, allocations: 4.438 kB / 487 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.09304, allocations: 24.88 kB / 487 MB, free: 16.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.09308, allocations: 1.25 kB / 487 MB, free: 16.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.0931, allocations: 10.31 kB / 487 MB, free: 16.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.09318, allocations: 23.78 kB / 487 MB, free: 16.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.09319, allocations: 0 / 487 MB, free: 16.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.09357, allocations: 338.1 kB / 487.4 MB, free: 16.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.09363, allocations: 21.88 kB / 487.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.09366, allocations: 14.72 kB / 487.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.09399, allocations: 289.4 kB / 487.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.09399, allocations: 1.281 kB / 487.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09399, allocations: 0 / 487.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.094, allocations: 0 / 487.7 MB, free: 16.36 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.000398/0.0944, allocations: 458.6 kB / 488.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.09444, allocations: 9.312 kB / 488.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.905e-05/0.09446, allocations: 76.72 kB / 488.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.048e-05/0.09448, allocations: 110 kB / 488.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.09454, allocations: 86.39 kB / 488.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.09469, allocations: 264.2 kB / 488.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.09471, allocations: 154.9 kB / 488.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.09473, allocations: 163.9 kB / 489 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.786e-05/0.09477, allocations: 101 kB / 489.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.09479, allocations: 76.47 kB / 489.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.09482, allocations: 151.7 kB / 489.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.09484, allocations: 150.6 kB / 489.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.09486, allocations: 155.7 kB / 489.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.09504, allocations: 462.3 kB / 490 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.768e-05/0.09509, allocations: 174.2 kB / 490.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.09511, allocations: 88.12 kB / 490.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.09512, allocations: 76.38 kB / 490.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.09522, allocations: 69.44 kB / 490.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.424e-06/0.09522, allocations: 0 / 490.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.09537, allocations: 71.8 kB / 490.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.09541, allocations: 134.8 kB / 490.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.09551, allocations: 134.6 kB / 490.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.09552, allocations: 25.7 kB / 490.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.09554, allocations: 91.64 kB / 490.9 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.09555, allocations: 0 / 490.9 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.09557, allocations: 15.77 kB / 490.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.09562, allocations: 317.2 kB / 491.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.09563, allocations: 0.9375 kB / 491.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.09563, allocations: 0.9688 kB / 491.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.09566, allocations: 63.05 kB / 491.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.09566, allocations: 5.156 kB / 491.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.779e-05/0.09572, allocations: 75.47 kB / 491.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.09574, allocations: 30.86 kB / 491.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.09575, allocations: 0 / 491.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.09576, allocations: 1.875 kB / 491.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.09576, allocations: 0 / 491.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.09577, allocations: 0 / 491.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.09579, allocations: 1.656 kB / 491.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.0958, allocations: 2.219 kB / 491.4 MB, free: 12.48 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.059e-05/0.09586, allocations: 149.3 kB / 491.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.09588, allocations: 3.438 kB / 491.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.38e-05/0.09589, allocations: 5.938 kB / 491.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.09589, allocations: 0 / 491.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.0959, allocations: 1.156 kB / 491.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.0959, allocations: 0 / 491.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.684e-05/0.09597, allocations: 164.9 kB / 491.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.09597, allocations: 0 / 491.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.09597, allocations: 1.219 kB / 491.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.09597, allocations: 0 / 491.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.09598, allocations: 1.312 kB / 491.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.09598, allocations: 11.94 kB / 491.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.09598, allocations: 0 / 491.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.267e-05/0.09605, allocations: 99.25 kB / 491.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.09608, allocations: 88.77 kB / 491.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.0961, allocations: 5.422 kB / 491.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.451e-05/0.09612, allocations: 2.875 kB / 491.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-06/0.09613, allocations: 1.25 kB / 491.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.09613, allocations: 4.969 kB / 491.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.441e-05/0.09619, allocations: 101.1 kB / 492 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09619, allocations: 0 / 492 MB, free: 11.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.09655, allocations: 103.4 kB / 492.1 MB, free: 11.76 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: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008569/0.0974, allocations: 0.9066 MB / 493 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.618e-05/0.09748, allocations: 59.98 kB / 493.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.09748, allocations: 8.062 kB / 493.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.0975, allocations: 54.31 kB / 493.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.09764, allocations: 6.094 kB / 493.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.09841, allocations: 1.259 MB / 494.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.971e-05/0.0985, allocations: 0.6846 MB / 495.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.183e-05/0.09852, allocations: 11.16 kB / 495.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.09855, allocations: 24.27 kB / 495.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.09855, allocations: 0 / 495.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.1179, allocations: 3.686 MB / 498.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.266, allocations: 12.44 kB / 498.8 MB, free: 6.945 MB / 350.1 MB " [Timeout remaining time 651] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.750058656965848] Failed to read output from testmodel.py, exit status != 0: 8.55685281404294 8.413509073 8.316692017 Calling exit ...