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.001321/0.001321, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001437/0.001437, allocations: 214.6 kB / 22.25 MB, free: 4.859 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.793 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.006766/0.006766, allocations: 1.012 MB / 313.4 MB, free: 1.871 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="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: 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.002108/0.002108, allocations: 71.91 kB / 435.7 MB, free: 16.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.09284, allocations: 53.58 MB / 489.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001736/0.09457, allocations: 497 kB / 489.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.09705, allocations: 1.422 MB / 491.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.09708, allocations: 0 / 491.1 MB, free: 8.824 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.001501/0.09859, allocations: 325.3 kB / 491.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.09865, allocations: 19.98 kB / 491.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.501e-05/0.09869, allocations: 19.91 kB / 491.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.09875, allocations: 12 kB / 491.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.09878, allocations: 3.984 kB / 491.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.09882, allocations: 15.92 kB / 491.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.941e-05/0.0989, allocations: 8 kB / 491.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.09891, allocations: 4 kB / 491.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.09939, allocations: 315.5 kB / 491.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.09945, allocations: 23.92 kB / 491.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.09948, allocations: 7.984 kB / 491.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.09993, allocations: 287.5 kB / 492.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09993, allocations: 0 / 492.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09993, allocations: 4 kB / 492.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.09994, allocations: 0 / 492.2 MB, free: 7.805 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.0004943/0.1004, allocations: 383.1 kB / 492.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1005, allocations: 8.031 kB / 492.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.581e-05/0.1005, allocations: 114 kB / 492.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.1006, allocations: 80.17 kB / 492.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1008, allocations: 213.7 kB / 492.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.1009, allocations: 150.9 kB / 493.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.101, allocations: 150.9 kB / 493.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.042e-05/0.101, allocations: 112.9 kB / 493.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.1011, allocations: 79.27 kB / 493.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.1011, allocations: 154.6 kB / 493.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.547e-05/0.1012, allocations: 150.6 kB / 493.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.1013, allocations: 154.6 kB / 493.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.1016, allocations: 433 kB / 494.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.1017, allocations: 177 kB / 494.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.1017, allocations: 80.14 kB / 494.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.1018, allocations: 79.22 kB / 494.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.1019, allocations: 98.81 kB / 494.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.154e-06/0.1019, allocations: 0 / 494.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001898/0.1021, allocations: 122.8 kB / 494.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/0.1022, allocations: 132.5 kB / 495 MB, free: 4.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1023, allocations: 129.8 kB / 495.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1023, allocations: 29.7 kB / 495.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.1024, allocations: 92.12 kB / 495.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.1024, allocations: 0 / 495.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.1024, allocations: 13.72 kB / 495.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1025, allocations: 314.8 kB / 495.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.1026, allocations: 29.7 kB / 495.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.1026, allocations: 33.62 kB / 495.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.1026, allocations: 64.45 kB / 495.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.1026, allocations: 0 / 495.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001036/0.1027, allocations: 96.94 kB / 495.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.1028, allocations: 41.69 kB / 495.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1028, allocations: 0 / 495.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1028, allocations: 0 / 495.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.1028, allocations: 0 / 495.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1028, allocations: 0 / 495.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.1028, allocations: 4 kB / 495.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1028, allocations: 0 / 495.8 MB, free: 3.855 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.0001098/0.1029, allocations: 143.6 kB / 495.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.103, allocations: 11.92 kB / 496 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.103, allocations: 7.422 kB / 496 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.103, allocations: 0 / 496 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.103, allocations: 0 / 496 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.103, allocations: 0 / 496 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1031, allocations: 132.7 kB / 496.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.1031, allocations: 4 kB / 496.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.1031, allocations: 0 / 496.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1031, allocations: 0 / 496.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1031, allocations: 0 / 496.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1031, allocations: 8 kB / 496.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1031, allocations: 0 / 496.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1032, allocations: 128.4 kB / 496.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.1033, allocations: 15.98 kB / 496.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1033, allocations: 0 / 496.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.465e-05/0.1033, allocations: 4 kB / 496.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-06/0.1033, allocations: 3.938 kB / 496.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.1033, allocations: 0 / 496.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.444e-05/0.1034, allocations: 103.3 kB / 496.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1034, allocations: 0 / 496.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.1037, allocations: 111.6 kB / 496.5 MB, free: 3.102 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.1049, allocations: 0.9378 MB / 497.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.105, allocations: 118.8 kB / 497.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.105, allocations: 0 / 497.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.1051, allocations: 81.11 kB / 497.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.1052, allocations: 7.984 kB / 497.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1064, allocations: 1.388 MB / 499 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.065e-05/0.1065, allocations: 71.27 kB / 499.1 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.421e-05/0.1065, allocations: 12.2 kB / 499.1 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.1065, allocations: 23.42 kB / 499.1 MB, free: 328 kB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1065, allocations: 0 / 499.1 MB, free: 328 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.1374, allocations: 4.217 MB / 0.4915 GB, free: 12.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.74, allocations: 4 kB / 0.4915 GB, free: 12.24 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 & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.347955049946904] Failed to read output from testmodel.py, exit status != 0: 10.843946351204067 11.045110042 10.76192373 Calling exit ...