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.001332/0.001332, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.001539/0.001539, allocations: 166.3 kB / 22.56 MB, free: 1.961 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 1.073/1.073, allocations: 177.1 MB / 202.9 MB, free: 5.703 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.003919/0.003919, allocations: 0.7974 MB / 260.1 MB, free: 12.41 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 2.084e-06/2.084e-06, allocations: 0 / 382.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.613e-05, allocations: 2.281 kB / 382.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001927/0.001953, allocations: 1.269 MB / 383.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.003391, allocations: 1.301 MB / 385.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.003429, allocations: 4 kB / 385.1 MB, free: 11.79 MB / 314.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.00143/0.00486, allocations: 270 kB / 385.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.004957, allocations: 63.81 kB / 385.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.004961, allocations: 0 / 385.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.005025, allocations: 39.84 kB / 385.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.005069, allocations: 7.984 kB / 385.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.005111, allocations: 15.94 kB / 385.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.836e-05/0.005209, allocations: 35.89 kB / 385.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.00522, allocations: 0 / 385.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.005586, allocations: 255.5 kB / 385.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.005654, allocations: 35.89 kB / 385.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.005683, allocations: 19.92 kB / 385.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.00604, allocations: 263.3 kB / 386 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.006044, allocations: 3.938 kB / 386.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.006046, allocations: 0 / 386.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.006051, allocations: 0 / 386.1 MB, free: 10.8 MB / 314.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.0004118/0.006463, allocations: 373.3 kB / 386.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.006509, allocations: 8.031 kB / 386.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.006552, allocations: 114 kB / 386.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.006607, allocations: 84.17 kB / 386.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.006782, allocations: 220.9 kB / 386.8 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.006824, allocations: 158.9 kB / 387 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.00686, allocations: 154.9 kB / 387.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.576e-05/0.006916, allocations: 101.5 kB / 387.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.006935, allocations: 75.47 kB / 387.3 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.006982, allocations: 154.5 kB / 387.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.007018, allocations: 154.6 kB / 387.6 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.001e-05/0.007058, allocations: 154.5 kB / 387.8 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.00729, allocations: 441 kB / 388.2 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/0.007379, allocations: 169.1 kB / 388.4 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.007408, allocations: 84.12 kB / 388.4 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.007429, allocations: 75.28 kB / 388.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.007465, allocations: 109.8 kB / 388.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.007466, allocations: 0 / 388.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 7.657e-05/0.007543, allocations: 37.59 kB / 388.7 MB, free: 8.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.007592, allocations: 134.7 kB / 388.8 MB, free: 7.898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.007759, allocations: 168.9 kB / 389 MB, free: 7.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.007767, allocations: 25.7 kB / 389 MB, free: 7.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.007807, allocations: 96.12 kB / 389.1 MB, free: 7.594 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.007809, allocations: 4 kB / 389.1 MB, free: 7.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.007825, allocations: 9.719 kB / 389.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.085e-05/0.007906, allocations: 318.8 kB / 389.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-06/0.007912, allocations: 0 / 389.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-06/0.007916, allocations: 0 / 389.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.009e-05/0.007936, allocations: 75.28 kB / 389.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.007953, allocations: 79.28 kB / 389.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.995e-05/0.008003, allocations: 41.58 kB / 389.6 MB, free: 7.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.008033, allocations: 79.28 kB / 389.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.008055, allocations: 83.22 kB / 389.8 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.057e-05/0.008106, allocations: 158.5 kB / 389.9 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-05/0.008125, allocations: 83.22 kB / 390 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.659e-05/0.008191, allocations: 154.6 kB / 390.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.008258, allocations: 83.27 kB / 390.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.008278, allocations: 79.28 kB / 390.3 MB, free: 6.344 MB / 314.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 9.831e-05/0.008376, allocations: 268.4 kB / 390.6 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.008422, allocations: 112.9 kB / 390.7 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.008466, allocations: 124.5 kB / 390.8 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-05/0.008509, allocations: 184.2 kB / 391 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.25e-05/0.008552, allocations: 176.3 kB / 391.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.095e-05/0.008593, allocations: 180.3 kB / 391.3 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.008754, allocations: 396.2 kB / 391.7 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/0.00878, allocations: 109 kB / 391.8 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.008805, allocations: 108.9 kB / 391.9 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.075e-05/0.008846, allocations: 176.3 kB / 392.1 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.008888, allocations: 180.2 kB / 392.3 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.082e-05/0.008929, allocations: 192.2 kB / 392.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.313e-05/0.008972, allocations: 180.2 kB / 392.6 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.009076, allocations: 303.8 kB / 392.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.009126, allocations: 124.9 kB / 393.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.009187, allocations: 184.1 kB / 393.2 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.009266, allocations: 117 kB / 393.3 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.00932, allocations: 180.7 kB / 393.5 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.009351, allocations: 101 kB / 393.6 MB, free: 2.824 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.009551, allocations: 131.2 kB / 393.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009551, allocations: 0 / 393.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000344/0.009895, allocations: 87.66 kB / 393.8 MB, free: 2.609 MB / 314.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.0008948/0.01079, allocations: 1.037 MB / 394.9 MB, free: 1.602 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.491e-05/0.01084, allocations: 7.938 kB / 394.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01085, allocations: 0 / 394.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.01085, allocations: 0 / 394.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.01114, allocations: 459.7 kB / 395.3 MB, free: 1.141 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.01273, allocations: 1.988 MB / 397.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.263e-05/0.01279, allocations: 71.33 kB / 397.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.938e-05/0.01282, allocations: 15.98 kB / 397.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.01289, allocations: 40.48 kB / 397.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01289, allocations: 0 / 397.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.0465, allocations: 4.178 MB / 401.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.815, allocations: 11.34 kB / 401.6 MB, free: 10.86 MB / 330.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: 10.068173810839653] Failed to read output from testmodel.py, exit status != 0: 7.900004274211824 8.113883331 8.104464635 Calling exit ...