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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.001492/0.001493, allocations: 108 kB / 15.63 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.001609/0.001609, allocations: 195.1 kB / 16.56 MB, free: 6.637 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.4/1.4, 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+X/package.mo): time 0.005748/0.005748, allocations: 0.9943 MB / 291.4 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.89 kB / 352.2 MB, free: 6.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09221, allocations: 49.65 MB / 401.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002508/0.09475, allocations: 1.248 MB / 403.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.09661, allocations: 1.212 MB / 404.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.09665, allocations: 4 kB / 404.3 MB, free: 2.555 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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.001167/0.09785, allocations: 256.1 kB / 404.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.09795, allocations: 63.83 kB / 404.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.09796, allocations: 0 / 404.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.09805, allocations: 39.84 kB / 404.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.09809, allocations: 3.984 kB / 404.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.09812, allocations: 23.86 kB / 404.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.0983, allocations: 47.81 kB / 404.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.09832, allocations: 4 kB / 404.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.09866, allocations: 259.6 kB / 405 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.09873, allocations: 31.95 kB / 405 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.09877, allocations: 27.86 kB / 405.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.09908, allocations: 247.7 kB / 405.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.09909, allocations: 4 kB / 405.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09909, allocations: 0 / 405.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.0991, allocations: 0 / 405.3 MB, free: 1.57 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.0004811/0.09959, allocations: 435.1 kB / 405.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.09963, allocations: 8.031 kB / 405.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.0997, allocations: 106 kB / 405.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.09977, allocations: 80.22 kB / 405.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1, allocations: 295.4 kB / 406.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.1001, allocations: 162.9 kB / 406.4 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.1001, allocations: 150.9 kB / 406.5 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.016e-05/0.1002, allocations: 104.9 kB / 406.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.1002, allocations: 79.27 kB / 406.7 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.1003, allocations: 150.6 kB / 406.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/0.1004, allocations: 154.6 kB / 407 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.1004, allocations: 150.6 kB / 407.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1007, allocations: 473.9 kB / 407.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.923e-05/0.1008, allocations: 165.1 kB / 407.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.1008, allocations: 88.17 kB / 407.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.1009, allocations: 83.22 kB / 407.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.1009, allocations: 113.8 kB / 408 MB, free: 14.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.101, allocations: 0 / 408 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.903e-05/0.101, allocations: 33.55 kB / 408.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.1011, allocations: 130.7 kB / 408.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1013, allocations: 184.9 kB / 408.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1013, allocations: 25.7 kB / 408.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.1014, allocations: 96.12 kB / 408.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.1014, allocations: 0 / 408.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.1014, allocations: 13.72 kB / 408.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1015, allocations: 318.8 kB / 408.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-06/0.1015, allocations: 0 / 408.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/0.1015, allocations: 4.031 kB / 408.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.1016, allocations: 83.22 kB / 408.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/0.1016, allocations: 79.28 kB / 409 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.507e-05/0.1017, allocations: 37.58 kB / 409 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.1017, allocations: 79.28 kB / 409.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.1017, allocations: 87.22 kB / 409.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-05/0.1018, allocations: 154.6 kB / 409.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.095e-05/0.1018, allocations: 79.22 kB / 409.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.495e-05/0.1019, allocations: 158.5 kB / 409.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.102, allocations: 83.22 kB / 409.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.102, allocations: 75.28 kB / 409.7 MB, free: 12.9 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.0001142/0.1021, allocations: 268.4 kB / 410 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.1022, allocations: 116.8 kB / 410.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1022, allocations: 112.8 kB / 410.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/0.1023, allocations: 184.2 kB / 410.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.167e-05/0.1023, allocations: 180.2 kB / 410.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.264e-05/0.1024, allocations: 188.2 kB / 410.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.1026, allocations: 413.2 kB / 411.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.1026, allocations: 112.9 kB / 411.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.1027, allocations: 105 kB / 411.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.251e-05/0.1027, allocations: 192.2 kB / 411.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.1028, allocations: 176.3 kB / 411.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.701e-05/0.1028, allocations: 176.3 kB / 411.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.221e-05/0.1029, allocations: 180.2 kB / 412.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.103, allocations: 319.7 kB / 412.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.1031, allocations: 190 kB / 412.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.1032, allocations: 180.3 kB / 412.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.1033, allocations: 104.9 kB / 412.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.1033, allocations: 188.2 kB / 413 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.1034, allocations: 108.9 kB / 413.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1035, allocations: 146 kB / 413.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1035, allocations: 0 / 413.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.1039, allocations: 83.91 kB / 413.4 MB, free: 9.027 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.0007998/0.1047, allocations: 1.033 MB / 414.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.987e-05/0.1047, allocations: 3.938 kB / 414.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1047, allocations: 0 / 414.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1048, allocations: 0 / 414.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1051, allocations: 471.6 kB / 414.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1067, allocations: 2.017 MB / 416.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.107, allocations: 0.6885 MB / 417.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.107, allocations: 15.94 kB / 417.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.1071, allocations: 39.56 kB / 417.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1071, allocations: 0 / 417.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.1306, allocations: 3.45 MB / 421.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.337/5.468, allocations: 6.375 kB / 421.1 MB, free: 1.277 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)