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.001214/0.001214, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001349/0.001349, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.007012/0.007012, allocations: 1.019 MB / 314.2 MB, free: 1.883 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.001868/0.001868, allocations: 67.89 kB / 436.4 MB, free: 16.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09341, allocations: 53.57 MB / 490 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.00179/0.0952, allocations: 0.4892 MB / 490.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.09753, allocations: 1.414 MB / 491.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.09756, allocations: 0 / 491.9 MB, free: 8.848 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.001385/0.09894, allocations: 328.7 kB / 492.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.099, allocations: 23.97 kB / 492.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.235e-05/0.09904, allocations: 19.92 kB / 492.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.09909, allocations: 11.98 kB / 492.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.09913, allocations: 4 kB / 492.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.09916, allocations: 15.94 kB / 492.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.09923, allocations: 11.97 kB / 492.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.09924, allocations: 0 / 492.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.09971, allocations: 339.5 kB / 492.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.09977, allocations: 19.92 kB / 492.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.09981, allocations: 7.938 kB / 492.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.1002, allocations: 291.4 kB / 493 MB, free: 7.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1002, allocations: 4 kB / 493 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1002, allocations: 0 / 493 MB, free: 7.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1002, allocations: 0 / 493 MB, free: 7.797 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.0005038/0.1007, allocations: 379.2 kB / 493.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1008, allocations: 8.031 kB / 493.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.877e-05/0.1008, allocations: 79.47 kB / 493.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.1009, allocations: 106 kB / 493.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.101, allocations: 84.17 kB / 493.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1012, allocations: 217.6 kB / 493.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.1012, allocations: 150.9 kB / 494 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.1013, allocations: 154.7 kB / 494.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.1014, allocations: 108.9 kB / 494.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.1014, allocations: 79.28 kB / 494.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.1015, allocations: 150.6 kB / 494.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.1015, allocations: 154.6 kB / 494.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.1016, allocations: 150.6 kB / 494.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1019, allocations: 429 kB / 495.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.102, allocations: 173.1 kB / 495.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.1021, allocations: 88.08 kB / 495.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.1021, allocations: 75.28 kB / 495.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.1023, allocations: 94.81 kB / 495.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.034e-06/0.1023, allocations: 0 / 495.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002102/0.1025, allocations: 122.9 kB / 495.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.1026, allocations: 136.5 kB / 495.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1027, allocations: 133.8 kB / 496 MB, free: 4.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1027, allocations: 25.7 kB / 496 MB, free: 4.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.1028, allocations: 88.14 kB / 496.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.1028, allocations: 0 / 496.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.1028, allocations: 13.72 kB / 496.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.103, allocations: 322.8 kB / 496.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.103, allocations: 29.7 kB / 496.4 MB, free: 4.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.103, allocations: 25.7 kB / 496.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.1031, allocations: 68.33 kB / 496.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1031, allocations: 0 / 496.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000104/0.1032, allocations: 100.9 kB / 496.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.1032, allocations: 33.7 kB / 496.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1032, allocations: 0 / 496.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1032, allocations: 3.984 kB / 496.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.1032, allocations: 0 / 496.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1032, allocations: 0 / 496.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.1033, allocations: 4 kB / 496.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1033, allocations: 0 / 496.7 MB, free: 3.781 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.0001146/0.1034, allocations: 151.5 kB / 496.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.1034, allocations: 0 / 496.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.1034, allocations: 15.42 kB / 496.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1034, allocations: 0 / 496.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1034, allocations: 0 / 496.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1034, allocations: 0 / 496.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1035, allocations: 132.7 kB / 497 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1035, allocations: 0 / 497 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.1035, allocations: 0 / 497 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1035, allocations: 4 kB / 497 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1035, allocations: 3.984 kB / 497 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1035, allocations: 0 / 497 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1036, allocations: 8 kB / 497 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1037, allocations: 124.4 kB / 497.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.1037, allocations: 7.984 kB / 497.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1037, allocations: 4 kB / 497.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.513e-05/0.1037, allocations: 4 kB / 497.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.1038, allocations: 0 / 497.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.1038, allocations: 3.938 kB / 497.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.101e-05/0.1038, allocations: 111.2 kB / 497.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1038, allocations: 0 / 497.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.1042, allocations: 99.61 kB / 497.3 MB, free: 3.031 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.001101/0.1053, allocations: 0.9537 MB / 498.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.1054, allocations: 110.8 kB / 498.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1054, allocations: 0 / 498.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.1055, allocations: 85.09 kB / 498.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1056, allocations: 8 kB / 498.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1068, allocations: 1.396 MB / 499.9 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.321e-05/0.1069, allocations: 63.34 kB / 499.9 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.275e-05/0.1069, allocations: 8.094 kB / 499.9 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.107, allocations: 31.58 kB / 500 MB, free: 240 kB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.107, allocations: 0 / 500 MB, free: 240 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.1309, allocations: 3.862 MB / 0.492 GB, free: 12.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.88, allocations: 11.06 kB / 0.492 GB, free: 12.51 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.45551737898495] Failed to read output from testmodel.py, exit status != 0: 11.036098524928093 11.234438801 10.952340206 Calling exit ...