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.00128/0.00128, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001528/0.001528, allocations: 212.4 kB / 23.03 MB, free: 4.926 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.007022/0.007022, allocations: 1.016 MB / 314.2 MB, free: 1.906 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="cs",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.0019/0.0019, allocations: 67.89 kB / 436.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09737, allocations: 53.57 MB / 490 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002345/0.09972, allocations: 1.27 MB / 491.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1017, allocations: 1.29 MB / 492.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.1017, allocations: 0 / 492.6 MB, free: 8.203 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.001178/0.1029, allocations: 277 kB / 492.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.103, allocations: 59.88 kB / 492.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.103, allocations: 0 / 492.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.021e-05/0.1031, allocations: 43.84 kB / 493 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.1031, allocations: 0 / 493 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.1032, allocations: 19.92 kB / 493 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1033, allocations: 35.83 kB / 493 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.1033, allocations: 4 kB / 493 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.1037, allocations: 259.7 kB / 493.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1038, allocations: 39.89 kB / 493.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.1038, allocations: 15.92 kB / 493.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.1041, allocations: 247.5 kB / 493.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1041, allocations: 0 / 493.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1041, allocations: 0 / 493.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1042, allocations: 7.984 kB / 493.6 MB, free: 7.219 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.0004991/0.1047, allocations: 361.4 kB / 493.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1047, allocations: 8.031 kB / 493.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.575e-05/0.1047, allocations: 75.47 kB / 494 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.389e-05/0.1048, allocations: 110 kB / 494.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.1049, allocations: 84.17 kB / 494.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1051, allocations: 225.7 kB / 494.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/0.1052, allocations: 158.9 kB / 494.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.1052, allocations: 154.7 kB / 494.7 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.039e-05/0.1053, allocations: 105 kB / 494.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.1053, allocations: 79.28 kB / 494.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.1054, allocations: 150.6 kB / 495 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.996e-05/0.1055, allocations: 154.6 kB / 495.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/0.1055, allocations: 150.6 kB / 495.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.1059, allocations: 440.9 kB / 495.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.106, allocations: 169.1 kB / 495.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.106, allocations: 84.08 kB / 496 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.1061, allocations: 75.28 kB / 496.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.1061, allocations: 113.8 kB / 496.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1061, allocations: 0 / 496.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.963e-05/0.1062, allocations: 33.59 kB / 496.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.1063, allocations: 134.7 kB / 496.4 MB, free: 4.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1065, allocations: 165.2 kB / 496.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1065, allocations: 25.7 kB / 496.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.1065, allocations: 96.12 kB / 496.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1065, allocations: 0 / 496.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.1066, allocations: 13.72 kB / 496.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1067, allocations: 322.8 kB / 497 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-06/0.1067, allocations: 0 / 497 MB, free: 3.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-06/0.1067, allocations: 0 / 497 MB, free: 3.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/0.1068, allocations: 79.28 kB / 497.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.515e-05/0.1068, allocations: 79.28 kB / 497.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.708e-05/0.1069, allocations: 45.61 kB / 497.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.1069, allocations: 79.28 kB / 497.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/0.107, allocations: 83.28 kB / 497.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.197e-05/0.107, allocations: 150.6 kB / 497.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.714e-05/0.1071, allocations: 79.22 kB / 497.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.73e-05/0.1072, allocations: 150.6 kB / 497.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/0.1073, allocations: 87.2 kB / 497.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.1073, allocations: 79.28 kB / 497.9 MB, free: 2.699 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.0001458/0.1074, allocations: 264.4 kB / 498.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.1075, allocations: 120.9 kB / 498.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.1076, allocations: 120.8 kB / 498.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.54e-05/0.1077, allocations: 180.3 kB / 498.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.523e-05/0.1077, allocations: 180.2 kB / 498.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.21e-05/0.1078, allocations: 184.3 kB / 498.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.1081, allocations: 392.2 kB / 499.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-05/0.1082, allocations: 112.9 kB / 499.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.1082, allocations: 101 kB / 499.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-05/0.1083, allocations: 184.2 kB / 499.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-05/0.1084, allocations: 184.2 kB / 499.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.927e-05/0.1085, allocations: 176.3 kB / 0.4883 GB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.902e-05/0.1085, allocations: 184.2 kB / 0.4885 GB, free: 232 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1087, allocations: 315.7 kB / 0.4888 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.1088, allocations: 109 kB / 0.4889 GB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.1089, allocations: 188.2 kB / 0.4891 GB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.109, allocations: 105 kB / 0.4892 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.1091, allocations: 184.3 kB / 0.4893 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.1091, allocations: 104.9 kB / 0.4894 GB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1093, allocations: 135.2 kB / 0.4896 GB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1093, allocations: 0 / 0.4896 GB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004258/0.1097, allocations: 79.61 kB / 0.4896 GB, free: 14.97 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.001042/0.1107, allocations: 1.038 MB / 0.4907 GB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.527e-05/0.1108, allocations: 3.938 kB / 0.4907 GB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1108, allocations: 0 / 0.4907 GB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1108, allocations: 0 / 0.4907 GB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1112, allocations: 459.7 kB / 0.4911 GB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1131, allocations: 1.98 MB / 0.493 GB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.438e-05/0.1132, allocations: 71.33 kB / 0.4931 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1132, allocations: 15.98 kB / 0.4931 GB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.1133, allocations: 35.41 kB / 0.4931 GB, free: 11.31 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1133, allocations: 0 / 0.4931 GB, free: 11.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.142, allocations: 3.67 MB / 0.4967 GB, free: 7.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.82, allocations: 0 / 0.4967 GB, free: 7.789 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealCSV_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.38569549494423] Failed to read output from testmodel.py, exit status != 0: 10.974204060970806 11.144580113 11.037710198 Calling exit ...