Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.0009554/0.0009554, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008876/0.0008876, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9377/0.9377, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.00383/0.00383, allocations: 0.8065 MB / 260 MB, free: 12.46 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 382.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.57e-05, allocations: 6.281 kB / 382.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001113/0.001139, allocations: 0.4909 MB / 382.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.002772, allocations: 1.433 MB / 384.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.00281, allocations: 0 / 384.2 MB, free: 13.73 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.1/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.1/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.1/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.001353/0.004163, allocations: 321.8 kB / 384.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.004208, allocations: 31.84 kB / 384.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.297e-05/0.004251, allocations: 4 kB / 384.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.261e-05/0.004344, allocations: 31.95 kB / 384.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.004388, allocations: 4 kB / 384.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.004436, allocations: 19.92 kB / 384.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.004479, allocations: 11.98 kB / 384.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.004495, allocations: 4 kB / 384.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/0.004842, allocations: 327.3 kB / 384.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.004918, allocations: 19.98 kB / 385 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.004949, allocations: 23.92 kB / 385 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.005327, allocations: 327.2 kB / 385.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005329, allocations: 0 / 385.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.005331, allocations: 0 / 385.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.005336, allocations: 3.938 kB / 385.3 MB, free: 12.62 MB / 362.7 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.0004471/0.005784, allocations: 380.2 kB / 385.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.005833, allocations: 8.031 kB / 385.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.005891, allocations: 114 kB / 385.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.005951, allocations: 84.17 kB / 385.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.006132, allocations: 217 kB / 386.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.006177, allocations: 150.9 kB / 386.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.006217, allocations: 154.9 kB / 386.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.655e-05/0.006284, allocations: 105.5 kB / 386.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.006312, allocations: 79.47 kB / 386.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.006363, allocations: 154.5 kB / 386.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.006402, allocations: 150.6 kB / 386.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.006443, allocations: 154.5 kB / 387 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.006689, allocations: 437 kB / 387.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.006771, allocations: 169.1 kB / 387.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.0068, allocations: 80.14 kB / 387.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.006828, allocations: 79.27 kB / 387.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.006987, allocations: 79.3 kB / 387.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 3.356e-06/0.00699, allocations: 0 / 387.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.007147, allocations: 45.53 kB / 387.9 MB, free: 9.891 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.007186, allocations: 51.41 kB / 387.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.007307, allocations: 145.8 kB / 388.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.007317, allocations: 25.7 kB / 388.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.007357, allocations: 88.14 kB / 388.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.007375, allocations: 128 / 388.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.007399, allocations: 17.72 kB / 388.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.007485, allocations: 314.8 kB / 388.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.007498, allocations: 11.92 kB / 388.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.007504, allocations: 0 / 388.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.201e-05/0.007526, allocations: 8.859 kB / 388.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007528, allocations: 0 / 388.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.309e-05/0.007572, allocations: 37.64 kB / 388.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007586, allocations: 11.94 kB / 388.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.007592, allocations: 0 / 388.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.007607, allocations: 4.094 kB / 388.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.774e-05/0.007635, allocations: 0 / 388.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.007641, allocations: 0 / 388.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.007671, allocations: 4 kB / 388.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.007679, allocations: 0 / 388.6 MB, free: 9.129 MB / 362.7 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.534e-05/0.007765, allocations: 117.8 kB / 388.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.007776, allocations: 7.953 kB / 388.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.007811, allocations: 19.34 kB / 388.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007814, allocations: 3.938 kB / 388.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.00782, allocations: 0 / 388.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.007824, allocations: 4 kB / 388.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.007927, allocations: 132.8 kB / 388.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007928, allocations: 0 / 388.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-06/0.007931, allocations: 0 / 388.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007933, allocations: 4 kB / 388.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.007944, allocations: 7.938 kB / 388.9 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.007945, allocations: 0 / 388.9 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.007947, allocations: 3.938 kB / 388.9 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.101e-05/0.008008, allocations: 61.08 kB / 388.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.008027, allocations: 15.98 kB / 389 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.008042, allocations: 3.938 kB / 389 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/0.008058, allocations: 8.031 kB / 389 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.008073, allocations: 0 / 389 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.008075, allocations: 4 kB / 389 MB, free: 8.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.857e-05/0.008134, allocations: 115.2 kB / 389.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008134, allocations: 0 / 389.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.008367, allocations: 107.5 kB / 389.2 MB, free: 8.449 MB / 362.7 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0007689/0.009136, allocations: 0.9089 MB / 390.1 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.009214, allocations: 4 kB / 390.1 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.009217, allocations: 4 kB / 390.1 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/0.009221, allocations: 4 kB / 390.1 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.009348, allocations: 12.11 kB / 390.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009087/0.01026, allocations: 1.266 MB / 391.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.01031, allocations: 63.34 kB / 391.4 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.01035, allocations: 15.98 kB / 391.5 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.0104, allocations: 28.48 kB / 391.5 MB, free: 6.09 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.0104, allocations: 0 / 391.5 MB, free: 6.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.03225, allocations: 4.582 MB / 396.1 MB, free: 1.613 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/8.42, allocations: 7.031 kB / 396.1 MB, free: 1.609 MB / 362.7 MB " [Timeout remaining time 651] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadStringCSV_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_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.422934019938111] Failed to read output from testmodel.py, exit status != 0: 8.505088597536087 8.518068108 8.510268515 Calling exit ...