Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.001017/0.001017, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009217/0.0009217, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9349/0.9349, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.003841/0.003841, allocations: 0.8052 MB / 260 MB, free: 12.48 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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 382.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.602e-05, allocations: 9.234 kB / 382.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001731/0.001757, allocations: 1.25 MB / 383.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.003147, allocations: 1.305 MB / 384.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.00318, allocations: 0 / 384.8 MB, free: 13.11 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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001148/0.004328, allocations: 274.9 kB / 385.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.222e-05/0.004421, allocations: 67.86 kB / 385.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.397e-06/0.004424, allocations: 0 / 385.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.00449, allocations: 35.84 kB / 385.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.004534, allocations: 8 kB / 385.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.00458, allocations: 27.91 kB / 385.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.004659, allocations: 27.91 kB / 385.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.004668, allocations: 0 / 385.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.004964, allocations: 255.5 kB / 385.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.005033, allocations: 39.89 kB / 385.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.005056, allocations: 16 kB / 385.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.005372, allocations: 271.2 kB / 385.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.005376, allocations: 4 kB / 385.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005378, allocations: 0 / 385.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.005383, allocations: 3.938 kB / 385.8 MB, free: 12.09 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.0003837/0.005767, allocations: 372.3 kB / 386.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.005808, allocations: 8.031 kB / 386.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.005851, allocations: 110 kB / 386.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.005901, allocations: 80.22 kB / 386.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.006069, allocations: 224.9 kB / 386.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.006105, allocations: 150.9 kB / 386.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.00614, allocations: 158.9 kB / 386.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.718e-05/0.006197, allocations: 105.5 kB / 387 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.006218, allocations: 75.47 kB / 387.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.006259, allocations: 154.5 kB / 387.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.006302, allocations: 154.6 kB / 387.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.009e-05/0.006342, allocations: 154.6 kB / 387.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.006572, allocations: 437 kB / 388 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.006644, allocations: 173.1 kB / 388.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.006671, allocations: 80.14 kB / 388.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.006692, allocations: 79.28 kB / 388.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.006725, allocations: 113.8 kB / 388.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.006726, allocations: 0 / 388.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.69e-05/0.006793, allocations: 37.59 kB / 388.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.006839, allocations: 126.7 kB / 388.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.007, allocations: 170.1 kB / 388.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.007008, allocations: 25.7 kB / 388.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.007051, allocations: 100.1 kB / 388.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.007053, allocations: 3.938 kB / 388.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.007069, allocations: 9.719 kB / 388.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.007153, allocations: 322.8 kB / 389.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.007158, allocations: 0 / 389.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-06/0.007161, allocations: 4 kB / 389.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.948e-05/0.007181, allocations: 75.28 kB / 389.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/0.007199, allocations: 75.28 kB / 389.3 MB, free: 8.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.741e-05/0.007247, allocations: 37.66 kB / 389.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.007275, allocations: 79.28 kB / 389.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.007296, allocations: 83.16 kB / 389.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-05/0.007342, allocations: 154.6 kB / 389.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.684e-05/0.007359, allocations: 75.28 kB / 389.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-05/0.007396, allocations: 158.5 kB / 389.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.007461, allocations: 87.33 kB / 390 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.007481, allocations: 87.22 kB / 390.1 MB, free: 7.633 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.607e-05/0.007567, allocations: 264.4 kB / 390.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.00761, allocations: 112.9 kB / 390.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.00765, allocations: 116.7 kB / 390.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.342e-05/0.007693, allocations: 184.1 kB / 390.7 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-05/0.00774, allocations: 180.3 kB / 390.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.615e-05/0.007786, allocations: 184.2 kB / 391.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.007937, allocations: 388.3 kB / 391.5 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/0.007962, allocations: 101 kB / 391.6 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.007985, allocations: 104.9 kB / 391.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.222e-05/0.008028, allocations: 188.2 kB / 391.9 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.008075, allocations: 192.1 kB / 392.1 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-05/0.008116, allocations: 176.3 kB / 392.2 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-05/0.008163, allocations: 184.2 kB / 392.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.949e-05/0.008262, allocations: 307.8 kB / 392.7 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.008314, allocations: 120.8 kB / 392.8 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.008368, allocations: 188.2 kB / 393 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.008432, allocations: 112.9 kB / 393.1 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.008478, allocations: 180.7 kB / 393.3 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.008502, allocations: 101 kB / 393.4 MB, free: 4.121 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.008586, allocations: 137.1 kB / 393.5 MB, free: 3.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008586, allocations: 4 kB / 393.5 MB, free: 3.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.008842, allocations: 79.67 kB / 393.6 MB, free: 3.906 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0006787/0.009521, allocations: 1.043 MB / 394.7 MB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.14e-05/0.009563, allocations: 7.922 kB / 394.7 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009565, allocations: 0 / 394.7 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.009566, allocations: 8 kB / 394.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.009829, allocations: 463.6 kB / 395.1 MB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.0111, allocations: 1.983 MB / 397.1 MB, free: 368 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.849e-05/0.01116, allocations: 75.19 kB / 397.2 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.43e-05/0.01118, allocations: 15.98 kB / 397.2 MB, free: 256 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.01124, allocations: 40.47 kB / 397.2 MB, free: 216 kB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01124, allocations: 0 / 397.2 MB, free: 216 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.03352, allocations: 4.178 MB / 401.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/7.666, allocations: 15.41 kB / 401.4 MB, free: 12.13 MB / 378.7 MB " [Timeout remaining time 652] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadRealCSV_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_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.604050031863153] Failed to read output from testmodel.py, exit status != 0: 7.748524198308587 7.76123349 7.753434468 Calling exit ...