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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 106.1 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.00715/0.00715, allocations: 1.013 MB / 303.7 MB, free: 8.777 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.88 kB / 422 MB, free: 24.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09913, allocations: 52.36 MB / 474.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001846/0.101, allocations: 492.8 kB / 474.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.1034, allocations: 1.365 MB / 476.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.1034, allocations: 0 / 476.2 MB, free: 2.578 MB / 334.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.001829/0.1052, allocations: 320.3 kB / 476.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.1053, allocations: 23.92 kB / 476.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.539e-05/0.1053, allocations: 11.98 kB / 476.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.608e-05/0.1054, allocations: 15.98 kB / 476.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.1055, allocations: 0 / 476.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.1055, allocations: 15.97 kB / 476.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1056, allocations: 19.81 kB / 476.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1056, allocations: 4 kB / 476.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.1063, allocations: 339.5 kB / 477 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.1064, allocations: 15.98 kB / 477 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.1064, allocations: 15.92 kB / 477 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.107, allocations: 287.5 kB / 477.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.107, allocations: 0 / 477.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.107, allocations: 3.938 kB / 477.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.107, allocations: 0 / 477.3 MB, free: 1.531 MB / 334.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.0006311/0.1076, allocations: 452.3 kB / 477.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1077, allocations: 12.02 kB / 477.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.751e-05/0.1078, allocations: 114 kB / 477.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.002e-05/0.1079, allocations: 80.22 kB / 477.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.1081, allocations: 267.5 kB / 478.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.739e-05/0.1082, allocations: 150.9 kB / 478.3 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.1083, allocations: 150.9 kB / 478.5 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.283e-05/0.1084, allocations: 112.9 kB / 478.6 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.1084, allocations: 75.28 kB / 478.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/0.1085, allocations: 150.6 kB / 478.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.586e-05/0.1086, allocations: 158.5 kB / 479 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.1086, allocations: 150.6 kB / 479.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.109, allocations: 461.9 kB / 479.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1091, allocations: 177.1 kB / 479.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.1092, allocations: 80.14 kB / 479.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.1092, allocations: 83.16 kB / 479.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.1094, allocations: 69.11 kB / 480 MB, free: 14.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 3.496e-06/0.1094, allocations: 4 kB / 480 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002253/0.1096, allocations: 67.36 kB / 480 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.1097, allocations: 136.5 kB / 480.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1099, allocations: 125.8 kB / 480.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1099, allocations: 25.7 kB / 480.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.11, allocations: 96.06 kB / 480.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.11, allocations: 0 / 480.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.11, allocations: 9.844 kB / 480.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1102, allocations: 322.8 kB / 480.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.1102, allocations: 0 / 480.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.1102, allocations: 0 / 480.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.493e-05/0.1103, allocations: 64.25 kB / 480.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1103, allocations: 0 / 480.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.753e-05/0.1104, allocations: 75.23 kB / 480.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.1104, allocations: 33.7 kB / 480.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1104, allocations: 96 / 480.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1105, allocations: 7.938 kB / 480.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.1105, allocations: 0 / 480.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1105, allocations: 7.922 kB / 480.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.1105, allocations: 4 kB / 480.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1105, allocations: 3.984 kB / 480.9 MB, free: 13.57 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 0.0001278/0.1106, allocations: 143.5 kB / 481.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1107, allocations: 7.938 kB / 481.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.1107, allocations: 7.516 kB / 481.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1107, allocations: 0 / 481.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1107, allocations: 4 kB / 481.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1107, allocations: 0 / 481.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1109, allocations: 161.6 kB / 481.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1109, allocations: 0 / 481.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.1109, allocations: 4 kB / 481.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1109, allocations: 4 kB / 481.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1109, allocations: 4 kB / 481.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1109, allocations: 0 / 481.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1109, allocations: 0 / 481.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.111, allocations: 102.7 kB / 481.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.1111, allocations: 85.09 kB / 481.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1111, allocations: 0 / 481.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.937e-05/0.1111, allocations: 7.938 kB / 481.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.1112, allocations: 0 / 481.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1112, allocations: 4 kB / 481.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.454e-05/0.1113, allocations: 99.27 kB / 481.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1113, allocations: 0 / 481.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.1117, allocations: 111.6 kB / 481.7 MB, free: 12.73 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.001405/0.1131, allocations: 0.9182 MB / 482.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.1133, allocations: 63.34 kB / 482.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1133, allocations: 0 / 482.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.1133, allocations: 59.47 kB / 482.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.1135, allocations: 4 kB / 482.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.115, allocations: 1.267 MB / 484 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1154, allocations: 0.6805 MB / 484.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.621e-05/0.1154, allocations: 11.98 kB / 484.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.1155, allocations: 23.42 kB / 484.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of SimCode: time 1.313e-06/0.1155, allocations: 0 / 484.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.1495, allocations: 3.644 MB / 488.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/8.956, allocations: 4.656 kB / 488.3 MB, free: 6.035 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: 11.304763436783105] Failed to read output from testmodel.py, exit status != 0: 9.025219345930964 9.038595914 8.928658757 Calling exit ...