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.002112/0.002112, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002539/0.002539, allocations: 216.6 kB / 22.26 MB, free: 5.082 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.02 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.0073/0.0073, allocations: 1.012 MB / 313.4 MB, free: 2.102 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.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: 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.002018/0.002018, allocations: 72.83 kB / 435.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.09152, allocations: 53.57 MB / 489.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002318/0.09384, allocations: 1.284 MB / 490.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.09583, allocations: 1.317 MB / 491.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.09586, allocations: 4 kB / 491.9 MB, free: 8.488 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/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.001216/0.09708, allocations: 267.1 kB / 492.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.09718, allocations: 59.81 kB / 492.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.09719, allocations: 0 / 492.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.09727, allocations: 43.84 kB / 492.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.09731, allocations: 7.984 kB / 492.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.09734, allocations: 15.94 kB / 492.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.09751, allocations: 43.81 kB / 492.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-06/0.09752, allocations: 0 / 492.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.09798, allocations: 299.5 kB / 492.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.09805, allocations: 35.95 kB / 492.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.09808, allocations: 19.86 kB / 492.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.09845, allocations: 255.4 kB / 492.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.09846, allocations: 8 kB / 492.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09846, allocations: 0 / 492.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.09846, allocations: 0 / 492.9 MB, free: 7.453 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.0004539/0.09892, allocations: 357.4 kB / 493.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.09896, allocations: 12.03 kB / 493.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.09902, allocations: 110 kB / 493.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.0991, allocations: 84.17 kB / 493.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.09932, allocations: 221.7 kB / 493.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/0.09938, allocations: 150.9 kB / 493.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.09944, allocations: 158.9 kB / 494 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/0.09951, allocations: 108.9 kB / 494.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.09955, allocations: 75.28 kB / 494.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/0.09961, allocations: 150.6 kB / 494.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/0.09967, allocations: 150.6 kB / 494.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.09973, allocations: 154.6 kB / 494.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.1001, allocations: 445 kB / 495.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.206e-05/0.1002, allocations: 169.1 kB / 495.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.1002, allocations: 84.14 kB / 495.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.1002, allocations: 83.16 kB / 495.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/0.1003, allocations: 113.8 kB / 495.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1003, allocations: 4 kB / 495.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.726e-05/0.1004, allocations: 29.66 kB / 495.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.1004, allocations: 126.7 kB / 495.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1007, allocations: 166.1 kB / 495.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1007, allocations: 25.7 kB / 495.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.1007, allocations: 100.1 kB / 496 MB, free: 4.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-06/0.1007, allocations: 7.938 kB / 496 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.1008, allocations: 13.7 kB / 496 MB, free: 4.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1009, allocations: 314.8 kB / 496.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-06/0.1009, allocations: 0 / 496.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-06/0.1009, allocations: 0 / 496.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.1009, allocations: 75.28 kB / 496.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.255e-05/0.101, allocations: 79.28 kB / 496.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.823e-05/0.101, allocations: 37.67 kB / 496.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.1011, allocations: 91.27 kB / 496.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-05/0.1011, allocations: 83.23 kB / 496.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.962e-05/0.1012, allocations: 150.6 kB / 496.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.977e-05/0.1012, allocations: 75.28 kB / 496.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.28e-05/0.1013, allocations: 158.5 kB / 497 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.1014, allocations: 75.28 kB / 497.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.1014, allocations: 87.22 kB / 497.2 MB, free: 3.004 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: 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 0.0001406/0.1015, allocations: 272.4 kB / 497.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.1016, allocations: 108.9 kB / 497.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.1017, allocations: 116.8 kB / 497.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.345e-05/0.1018, allocations: 184.2 kB / 497.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-05/0.1018, allocations: 184.3 kB / 498 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-05/0.1019, allocations: 180.2 kB / 498.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.1022, allocations: 388.3 kB / 498.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.281e-05/0.1022, allocations: 108.9 kB / 498.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.1023, allocations: 104.9 kB / 498.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-05/0.1024, allocations: 180.2 kB / 499 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.1024, allocations: 188.2 kB / 499.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.265e-05/0.1025, allocations: 180.3 kB / 499.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.19e-05/0.1026, allocations: 180.2 kB / 499.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.1027, allocations: 311.8 kB / 499.8 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1028, allocations: 120.8 kB / 499.9 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.1029, allocations: 180.3 kB / 0.4884 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.103, allocations: 108.9 kB / 0.4885 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.1031, allocations: 180.3 kB / 0.4886 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.1032, allocations: 105 kB / 0.4887 GB, free: 15.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1033, allocations: 138.1 kB / 0.4889 GB, free: 15.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1033, allocations: 3.938 kB / 0.4889 GB, free: 15.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.1037, allocations: 83.67 kB / 0.489 GB, free: 15.28 MB / 366.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: 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.0009973/0.1047, allocations: 1.024 MB / 0.49 GB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.654e-05/0.1047, allocations: 0 / 0.49 GB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1047, allocations: 4 kB / 0.49 GB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1047, allocations: 0 / 0.49 GB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.1051, allocations: 463.6 kB / 0.4904 GB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.107, allocations: 1.973 MB / 0.4923 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1073, allocations: 0.6923 MB / 0.493 GB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.033e-05/0.1073, allocations: 15.98 kB / 0.493 GB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.1074, allocations: 31.42 kB / 0.4931 GB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1074, allocations: 0 / 0.4931 GB, free: 11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.1451, allocations: 3.596 MB / 0.4966 GB, free: 7.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.76, allocations: 5.562 kB / 0.4966 GB, free: 7.535 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.718404241000826] Failed to read output from testmodel.py, exit status != 0: 11.865907588999107 12.059102501 11.957924267 Calling exit ...