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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006144/0.006145, allocations: 0.9977 MB / 291.4 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 352.2 MB, free: 6.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1014, allocations: 49.65 MB / 401.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002289/0.1037, allocations: 1.255 MB / 403.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1055, allocations: 1.212 MB / 404.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.1055, allocations: 8 kB / 404.3 MB, free: 2.566 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.11.0-master/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.001271/0.1068, allocations: 251.2 kB / 404.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.1069, allocations: 55.89 kB / 404.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.1069, allocations: 0 / 404.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.324e-05/0.107, allocations: 39.78 kB / 404.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.1071, allocations: 4 kB / 404.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.1071, allocations: 23.91 kB / 404.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1073, allocations: 38.77 kB / 404.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1073, allocations: 4 kB / 404.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.1077, allocations: 267.6 kB / 405 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.1077, allocations: 31.95 kB / 405 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.1078, allocations: 27.8 kB / 405 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.1082, allocations: 243.7 kB / 405.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1082, allocations: 0 / 405.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1082, allocations: 0 / 405.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1082, allocations: 4 kB / 405.3 MB, free: 1.598 MB / 334.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.0004912/0.1087, allocations: 427.1 kB / 405.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1087, allocations: 16.02 kB / 405.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.1088, allocations: 110 kB / 405.8 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.1089, allocations: 80.22 kB / 405.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1091, allocations: 300.2 kB / 406.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.1091, allocations: 150.9 kB / 406.3 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.1092, allocations: 154.9 kB / 406.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.344e-05/0.1093, allocations: 104.9 kB / 406.6 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.1093, allocations: 79.28 kB / 406.6 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.1094, allocations: 154.6 kB / 406.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.1094, allocations: 150.6 kB / 406.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.1095, allocations: 158.5 kB / 407.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.1098, allocations: 465.9 kB / 407.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.797e-05/0.1098, allocations: 173.1 kB / 407.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.1099, allocations: 80.19 kB / 407.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1099, allocations: 83.22 kB / 407.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.1099, allocations: 109.8 kB / 408 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.11, allocations: 3.938 kB / 408 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.758e-05/0.11, allocations: 37.61 kB / 408 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1101, allocations: 130.7 kB / 408.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1103, allocations: 184.5 kB / 408.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.1103, allocations: 25.7 kB / 408.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.1104, allocations: 96.12 kB / 408.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.1104, allocations: 0 / 408.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.1104, allocations: 9.719 kB / 408.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1105, allocations: 318.8 kB / 408.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-06/0.1106, allocations: 4 kB / 408.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.1106, allocations: 4.031 kB / 408.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.1106, allocations: 79.27 kB / 408.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.058e-05/0.1106, allocations: 75.28 kB / 408.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.711e-05/0.1107, allocations: 37.58 kB / 409 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.1107, allocations: 83.28 kB / 409.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/0.1108, allocations: 75.28 kB / 409.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-05/0.1108, allocations: 162.5 kB / 409.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.1109, allocations: 79.22 kB / 409.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-05/0.1109, allocations: 158.5 kB / 409.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.111, allocations: 79.22 kB / 409.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.1111, allocations: 83.27 kB / 409.7 MB, free: 12.93 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.0001168/0.1112, allocations: 264.4 kB / 409.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.1113, allocations: 120.8 kB / 410 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.1113, allocations: 112.8 kB / 410.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.657e-05/0.1114, allocations: 184.3 kB / 410.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-05/0.1115, allocations: 180.2 kB / 410.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-05/0.1115, allocations: 176.3 kB / 410.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.1118, allocations: 429.1 kB / 411.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.736e-05/0.1118, allocations: 112.9 kB / 411.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.1118, allocations: 101 kB / 411.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.464e-05/0.1119, allocations: 180.2 kB / 411.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.112, allocations: 184.2 kB / 411.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.961e-05/0.112, allocations: 184.2 kB / 411.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-05/0.1121, allocations: 180.3 kB / 412 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.1122, allocations: 307.7 kB / 412.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.1123, allocations: 198 kB / 412.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.1124, allocations: 180.2 kB / 412.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.1125, allocations: 109 kB / 412.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.1126, allocations: 180.2 kB / 413 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.1126, allocations: 109 kB / 413.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1128, allocations: 149.3 kB / 413.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1128, allocations: 0 / 413.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.1131, allocations: 79.91 kB / 413.3 MB, free: 9.059 MB / 350.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.0008272/0.114, allocations: 1.042 MB / 414.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.322e-05/0.114, allocations: 4 kB / 414.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.114, allocations: 0 / 414.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.1141, allocations: 0 / 414.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1144, allocations: 466.4 kB / 414.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1161, allocations: 2.017 MB / 416.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1164, allocations: 0.6885 MB / 417.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.1164, allocations: 15.98 kB / 417.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.1165, allocations: 31.42 kB / 417.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1165, allocations: 0 / 417.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.1484, allocations: 3.461 MB / 421 MB, free: 1.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.049, allocations: 10.25 kB / 421 MB, free: 1.305 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)