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.0009723/0.0009723, 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.0009058/0.0009058, allocations: 165.9 kB / 22.46 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.9501/0.9501, 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.003867/0.003867, allocations: 0.7991 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.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 1.733e-06/1.733e-06, allocations: 0 / 382.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.147e-05, allocations: 5.094 kB / 382.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001047/0.001068, allocations: 495.8 kB / 382.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.002546, allocations: 1.433 MB / 384.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.002574, allocations: 0 / 384.2 MB, free: 13.74 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.001131/0.003705, allocations: 318.6 kB / 384.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.621e-05/0.003741, allocations: 23.97 kB / 384.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.673e-05/0.003778, allocations: 15.94 kB / 384.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.003843, allocations: 23.97 kB / 384.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.00388, allocations: 7.938 kB / 384.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.003922, allocations: 11.94 kB / 384.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.003989, allocations: 7.984 kB / 384.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.004, allocations: 0 / 384.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.00433, allocations: 331.3 kB / 384.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.004391, allocations: 12 kB / 384.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.004422, allocations: 15.92 kB / 384.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.004747, allocations: 323.2 kB / 385.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004749, allocations: 4 kB / 385.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.004751, allocations: 0 / 385.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004755, allocations: 0 / 385.3 MB, free: 12.67 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.0003724/0.005127, allocations: 383.1 kB / 385.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.005167, allocations: 8.031 kB / 385.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.00521, allocations: 110 kB / 385.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.005264, allocations: 88.16 kB / 385.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.005417, allocations: 212.9 kB / 386 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.005452, allocations: 150.9 kB / 386.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.005485, allocations: 154.9 kB / 386.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.866e-05/0.005534, allocations: 101.5 kB / 386.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.005553, allocations: 79.47 kB / 386.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.005595, allocations: 158.5 kB / 386.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.005628, allocations: 154.6 kB / 386.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.005665, allocations: 154.5 kB / 387 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.005869, allocations: 433 kB / 387.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.005935, allocations: 165.1 kB / 387.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.005958, allocations: 88.12 kB / 387.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.005981, allocations: 79.27 kB / 387.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.00611, allocations: 98.77 kB / 387.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.705e-06/0.006113, allocations: 0 / 387.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001667/0.006279, allocations: 126.7 kB / 387.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.006332, allocations: 132.5 kB / 388.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.006419, allocations: 133.8 kB / 388.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.006429, allocations: 25.7 kB / 388.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.006463, allocations: 88.14 kB / 388.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.006477, allocations: 3.953 kB / 388.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.006498, allocations: 13.72 kB / 388.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.006571, allocations: 318.8 kB / 388.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.006588, allocations: 29.7 kB / 388.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046e-05/0.006599, allocations: 29.77 kB / 388.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.006635, allocations: 68.27 kB / 388.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006637, allocations: 0 / 388.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.973e-05/0.006697, allocations: 93.09 kB / 388.9 MB, free: 8.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.006726, allocations: 41.58 kB / 388.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00673, allocations: 0 / 388.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.00674, allocations: 0 / 388.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.006741, allocations: 0 / 388.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.006746, allocations: 0 / 388.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.006769, allocations: 4 kB / 388.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.006776, allocations: 4.031 kB / 388.9 MB, free: 8.715 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): 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 7.263e-05/0.006849, allocations: 143.5 kB / 389 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.006858, allocations: 7.953 kB / 389 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.469e-05/0.006873, allocations: 11.36 kB / 389.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006875, allocations: 0 / 389.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.006881, allocations: 7.984 kB / 389.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.006884, allocations: 0 / 389.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.686e-05/0.006951, allocations: 128.8 kB / 389.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006952, allocations: 3.938 kB / 389.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-07/0.006952, allocations: 0 / 389.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.006953, allocations: 0 / 389.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.00696, allocations: 7.938 kB / 389.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006961, allocations: 4 kB / 389.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006962, allocations: 0 / 389.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.539e-05/0.007037, allocations: 120.5 kB / 389.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.007053, allocations: 11.95 kB / 389.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.007068, allocations: 7.938 kB / 389.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.624e-05/0.007085, allocations: 4 kB / 389.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.007101, allocations: 3.984 kB / 389.4 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-06/0.007102, allocations: 0 / 389.4 MB, free: 8.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.171e-05/0.007154, allocations: 103.3 kB / 389.5 MB, free: 8.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007154, allocations: 4.031 kB / 389.5 MB, free: 8.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.007372, allocations: 107.5 kB / 389.6 MB, free: 7.957 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: 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.0007045/0.008076, allocations: 0.9528 MB / 390.5 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.494e-05/0.008171, allocations: 118.8 kB / 390.6 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008173, allocations: 0 / 390.6 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.008197, allocations: 81.11 kB / 390.7 MB, free: 6.801 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.008315, allocations: 15.73 kB / 390.7 MB, free: 6.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.009133, allocations: 1.401 MB / 392.1 MB, free: 5.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.009179, allocations: 63.56 kB / 392.2 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.653e-05/0.009195, allocations: 15.98 kB / 392.2 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.009237, allocations: 28.48 kB / 392.2 MB, free: 5.141 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009237, allocations: 0 / 392.2 MB, free: 5.141 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.03122, allocations: 4.364 MB / 396.6 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/7.837, allocations: 14.31 kB / 396.6 MB, free: 0.875 MB / 362.7 MB " [Timeout remaining time 652] (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: 9.845570598728955] Failed to read output from testmodel.py, exit status != 0: 7.919391113333404 7.930960321 7.924469429 Calling exit ...