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.00122/0.00122, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001438/0.001438, allocations: 209.2 kB / 23.04 MB, free: 5.074 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.006993/0.006993, allocations: 1.019 MB / 314.2 MB, free: 2.125 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.002008/0.002008, allocations: 63.91 kB / 436.5 MB, free: 16.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.0945, allocations: 53.58 MB / 490.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001741/0.09625, allocations: 492.5 kB / 490.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.09874, allocations: 1.453 MB / 492 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.09876, allocations: 0 / 492 MB, free: 9.039 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.001643/0.1004, allocations: 323 kB / 492.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.1005, allocations: 27.91 kB / 492.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.634e-05/0.1005, allocations: 7.984 kB / 492.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.1006, allocations: 15.98 kB / 492.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.1006, allocations: 3.938 kB / 492.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.868e-05/0.1006, allocations: 11.98 kB / 492.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1008, allocations: 27.86 kB / 492.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1008, allocations: 0 / 492.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005789/0.1013, allocations: 367.5 kB / 492.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.1014, allocations: 15.98 kB / 492.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.1015, allocations: 23.86 kB / 492.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004961/0.102, allocations: 291.5 kB / 493.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.102, allocations: 3.938 kB / 493.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.102, allocations: 0 / 493.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.102, allocations: 0 / 493.1 MB, free: 7.941 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.0005283/0.1025, allocations: 379.2 kB / 493.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1025, allocations: 12.03 kB / 493.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.534e-05/0.1026, allocations: 79.47 kB / 493.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.1026, allocations: 106 kB / 493.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.567e-05/0.1027, allocations: 80.17 kB / 493.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1029, allocations: 213.7 kB / 494 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.103, allocations: 154.9 kB / 494.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.1031, allocations: 158.7 kB / 494.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.548e-05/0.1031, allocations: 108.9 kB / 494.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.1032, allocations: 75.28 kB / 494.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.1032, allocations: 150.6 kB / 494.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/0.1033, allocations: 154.6 kB / 494.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.1034, allocations: 154.6 kB / 494.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.1037, allocations: 429 kB / 495.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.628e-05/0.1038, allocations: 169.1 kB / 495.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.1038, allocations: 84.08 kB / 495.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.1038, allocations: 75.28 kB / 495.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.104, allocations: 81.11 kB / 495.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.104, allocations: 0 / 495.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001649/0.1041, allocations: 63.34 kB / 495.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.1042, allocations: 132.5 kB / 495.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1043, allocations: 130.2 kB / 496.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1043, allocations: 29.7 kB / 496.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.1044, allocations: 92.2 kB / 496.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.1044, allocations: 4 kB / 496.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.1044, allocations: 13.72 kB / 496.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1046, allocations: 310.8 kB / 496.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.1046, allocations: 8 kB / 496.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.1046, allocations: 3.984 kB / 496.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.1046, allocations: 60.27 kB / 496.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1046, allocations: 0 / 496.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.942e-05/0.1047, allocations: 75.3 kB / 496.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.1047, allocations: 32.05 kB / 496.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1048, allocations: 7.922 kB / 496.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1048, allocations: 0 / 496.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-06/0.1048, allocations: 4 kB / 496.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1048, allocations: 0 / 496.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.1048, allocations: 0 / 496.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.1048, allocations: 0 / 496.7 MB, free: 4.121 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.000103/0.1049, allocations: 147.5 kB / 496.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.1049, allocations: 8.031 kB / 496.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.1049, allocations: 15.41 kB / 496.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1049, allocations: 0 / 496.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.105, allocations: 0 / 496.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.105, allocations: 0 / 496.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1051, allocations: 132.7 kB / 497 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1051, allocations: 0 / 497 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1051, allocations: 0 / 497 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1051, allocations: 0 / 497 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.1051, allocations: 0 / 497 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1051, allocations: 0 / 497 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1051, allocations: 11.98 kB / 497 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.1052, allocations: 98.67 kB / 497.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.381e-05/0.1052, allocations: 11.98 kB / 497.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1052, allocations: 0 / 497.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.72e-05/0.1053, allocations: 4 kB / 497.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.1053, allocations: 4 kB / 497.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1053, allocations: 0 / 497.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.032e-05/0.1053, allocations: 115.3 kB / 497.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1053, allocations: 0 / 497.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.1057, allocations: 103.6 kB / 497.3 MB, free: 3.395 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.001145/0.1069, allocations: 0.8976 MB / 498.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.107, allocations: 63.34 kB / 498.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.107, allocations: 0 / 498.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.137e-05/0.107, allocations: 55.47 kB / 498.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.1071, allocations: 18.75 kB / 498.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1083, allocations: 1.263 MB / 499.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1086, allocations: 0.6807 MB / 0.4886 GB, free: 320 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.401e-05/0.1086, allocations: 11.98 kB / 0.4886 GB, free: 308 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.1086, allocations: 23.42 kB / 0.4886 GB, free: 284 kB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1086, allocations: 0 / 0.4886 GB, free: 284 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.1338, allocations: 3.786 MB / 0.4923 GB, free: 12.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.65, allocations: 24.78 kB / 0.4923 GB, free: 12.61 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.29075233603362] Failed to read output from testmodel.py, exit status != 0: 10.809145996929146 11.017481187 10.719933254 Calling exit ...