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.001355/0.001355, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001551/0.001551, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.351/1.351, allocations: 230.6 MB / 256 MB, free: 7.785 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.006986/0.006986, allocations: 1.011 MB / 313.4 MB, free: 1.879 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.001951/0.001951, allocations: 64.09 kB / 435.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.09438, allocations: 53.58 MB / 489.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002453/0.09683, allocations: 1.272 MB / 490.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.09891, allocations: 1.297 MB / 491.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.09893, allocations: 0 / 491.8 MB, free: 8.164 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.001301/0.1002, allocations: 270.4 kB / 492.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.1004, allocations: 59.88 kB / 492.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.1004, allocations: 0 / 492.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.1004, allocations: 39.84 kB / 492.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.1005, allocations: 0 / 492.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.1005, allocations: 23.91 kB / 492.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1007, allocations: 39.84 kB / 492.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.1007, allocations: 0 / 492.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.1011, allocations: 251.6 kB / 492.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.1012, allocations: 35.91 kB / 492.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.1012, allocations: 19.91 kB / 492.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.1016, allocations: 247.5 kB / 492.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1016, allocations: 0 / 492.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1016, allocations: 0 / 492.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1016, allocations: 0 / 492.8 MB, free: 7.199 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.0004917/0.1021, allocations: 357.4 kB / 493.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1021, allocations: 8.031 kB / 493.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.254e-05/0.1022, allocations: 110 kB / 493.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.1023, allocations: 84.17 kB / 493.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1025, allocations: 225.7 kB / 493.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.1026, allocations: 154.9 kB / 493.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.1027, allocations: 154.9 kB / 493.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.245e-05/0.1027, allocations: 108.9 kB / 493.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.1028, allocations: 75.28 kB / 494 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.1028, allocations: 150.6 kB / 494.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.171e-05/0.1029, allocations: 158.5 kB / 494.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/0.103, allocations: 150.6 kB / 494.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.1033, allocations: 433 kB / 494.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.1034, allocations: 177.1 kB / 495.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.1035, allocations: 84.14 kB / 495.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.1035, allocations: 79.22 kB / 495.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.1036, allocations: 109.8 kB / 495.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1036, allocations: 4 kB / 495.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.544e-05/0.1036, allocations: 37.58 kB / 495.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.1037, allocations: 130.7 kB / 495.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1039, allocations: 164.9 kB / 495.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1039, allocations: 25.7 kB / 495.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.104, allocations: 96.14 kB / 495.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.104, allocations: 4 kB / 495.8 MB, free: 4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.104, allocations: 9.719 kB / 495.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1042, allocations: 318.8 kB / 496.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.1042, allocations: 0 / 496.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-06/0.1042, allocations: 3.938 kB / 496.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.1042, allocations: 83.28 kB / 496.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.773e-05/0.1042, allocations: 75.28 kB / 496.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.798e-05/0.1043, allocations: 41.67 kB / 496.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.1043, allocations: 79.28 kB / 496.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/0.1044, allocations: 83.2 kB / 496.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.049e-05/0.1045, allocations: 154.6 kB / 496.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.273e-05/0.1045, allocations: 83.22 kB / 496.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.814e-05/0.1046, allocations: 150.6 kB / 496.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.192e-05/0.1046, allocations: 79.28 kB / 496.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.1047, allocations: 83.22 kB / 497 MB, free: 2.754 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.0001507/0.1048, allocations: 272.4 kB / 497.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.1049, allocations: 108.9 kB / 497.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.105, allocations: 116.7 kB / 497.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/0.1051, allocations: 188.3 kB / 497.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.852e-05/0.1052, allocations: 180.2 kB / 497.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.923e-05/0.1052, allocations: 180.3 kB / 498 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.1055, allocations: 384.3 kB / 498.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.345e-05/0.1056, allocations: 120.8 kB / 498.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.1056, allocations: 101 kB / 498.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.339e-05/0.1057, allocations: 180.2 kB / 498.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.1058, allocations: 184.3 kB / 499 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-05/0.1059, allocations: 176.3 kB / 499.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-05/0.1059, allocations: 180.2 kB / 499.3 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.1061, allocations: 315.7 kB / 499.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.1062, allocations: 112.9 kB / 499.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.1063, allocations: 184.3 kB / 499.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1064, allocations: 112.9 kB / 0.4883 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.1065, allocations: 180.3 kB / 0.4885 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.1066, allocations: 108.9 kB / 0.4886 GB, free: 15.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1067, allocations: 131.2 kB / 0.4887 GB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1067, allocations: 3.938 kB / 0.4887 GB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.1071, allocations: 83.61 kB / 0.4888 GB, free: 15.03 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.001036/0.1081, allocations: 1.034 MB / 0.4898 GB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.419e-05/0.1081, allocations: 3.938 kB / 0.4898 GB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1081, allocations: 3.938 kB / 0.4898 GB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.1081, allocations: 0 / 0.4898 GB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1085, allocations: 459.7 kB / 0.4902 GB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1104, allocations: 1.962 MB / 0.4922 GB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.35e-05/0.1104, allocations: 83.2 kB / 0.4922 GB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.1105, allocations: 11.98 kB / 0.4923 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.1105, allocations: 35.42 kB / 0.4923 GB, free: 11.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1105, allocations: 0 / 0.4923 GB, free: 11.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.1441, allocations: 4.03 MB / 0.4962 GB, free: 7.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.55, allocations: 11.81 kB / 0.4962 GB, free: 7.477 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.066146709024906] Failed to read output from testmodel.py, exit status != 0: 10.652122651226819 10.83863915 10.734050632 Calling exit ...