Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",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.001195/0.001195, 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.001268/0.001268, allocations: 192.1 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006163/0.006163, allocations: 1.002 MB / 291.4 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 352.2 MB, free: 6.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09469, allocations: 49.64 MB / 401.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001983/0.09671, allocations: 493.8 kB / 402.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.09923, allocations: 1.341 MB / 403.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.0993, allocations: 0 / 403.6 MB, free: 3.219 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/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001576/0.1009, allocations: 312.9 kB / 403.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.1009, allocations: 23.97 kB / 404 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.825e-05/0.101, allocations: 23.91 kB / 404 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.998e-05/0.1011, allocations: 12 kB / 404 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.243e-05/0.1011, allocations: 0 / 404 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.1011, allocations: 11.98 kB / 404 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.1012, allocations: 15.92 kB / 404 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1013, allocations: 4 kB / 404 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.1018, allocations: 323.6 kB / 404.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1018, allocations: 15.97 kB / 404.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.1019, allocations: 23.86 kB / 404.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.1024, allocations: 275.5 kB / 404.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1024, allocations: 0 / 404.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1024, allocations: 0 / 404.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1025, allocations: 0 / 404.6 MB, free: 2.199 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.0005719/0.103, allocations: 453.2 kB / 405.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1031, allocations: 12.03 kB / 405.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.1032, allocations: 110 kB / 405.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.1033, allocations: 92.11 kB / 405.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1035, allocations: 271.4 kB / 405.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.1035, allocations: 150.9 kB / 405.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.1036, allocations: 150.9 kB / 405.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.544e-05/0.1036, allocations: 108.9 kB / 406 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.1037, allocations: 79.28 kB / 406 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.1037, allocations: 154.6 kB / 406.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.1038, allocations: 150.6 kB / 406.3 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.1038, allocations: 154.5 kB / 406.5 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.1041, allocations: 461.9 kB / 406.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1043, allocations: 169.1 kB / 407.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.1043, allocations: 80.14 kB / 407.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.1043, allocations: 79.22 kB / 407.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.1045, allocations: 77.05 kB / 407.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.385e-06/0.1045, allocations: 4 kB / 407.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.1047, allocations: 59.41 kB / 407.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.1047, allocations: 136.5 kB / 407.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1049, allocations: 145.8 kB / 407.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1049, allocations: 29.7 kB / 407.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.105, allocations: 92.08 kB / 407.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.105, allocations: 0 / 407.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.105, allocations: 13.72 kB / 407.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1051, allocations: 319 kB / 408.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.1051, allocations: 4 kB / 408.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.1051, allocations: 4 kB / 408.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.1052, allocations: 64.2 kB / 408.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1052, allocations: 0 / 408.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.101e-05/0.1053, allocations: 71.23 kB / 408.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.1053, allocations: 29.7 kB / 408.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1053, allocations: 0 / 408.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1054, allocations: 4.094 kB / 408.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1054, allocations: 3.938 kB / 408.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1054, allocations: 4 kB / 408.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.1054, allocations: 4 kB / 408.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1054, allocations: 0 / 408.3 MB, free: 14.23 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.888e-05/0.1055, allocations: 147.5 kB / 408.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.1056, allocations: 7.938 kB / 408.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.1056, allocations: 3.531 kB / 408.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1056, allocations: 4 kB / 408.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1056, allocations: 4 kB / 408.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1056, allocations: 0 / 408.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1057, allocations: 165.6 kB / 408.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1057, allocations: 0 / 408.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1057, allocations: 3.938 kB / 408.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1057, allocations: 0 / 408.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.1058, allocations: 0 / 408.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1058, allocations: 0 / 408.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1058, allocations: 0 / 408.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.1059, allocations: 102.7 kB / 408.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.1059, allocations: 85.09 kB / 408.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.106, allocations: 4 kB / 408.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.712e-05/0.106, allocations: 0 / 408.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.106, allocations: 4 kB / 408.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.106, allocations: 0 / 408.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.985e-05/0.1061, allocations: 115.2 kB / 408.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1061, allocations: 4 kB / 408.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.1065, allocations: 99.92 kB / 409 MB, free: 13.39 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: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009768/0.1075, allocations: 0.9315 MB / 410 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.56e-05/0.1076, allocations: 55.41 kB / 410 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1076, allocations: 0 / 410 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.255e-05/0.1076, allocations: 59.47 kB / 410.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.1078, allocations: 8 kB / 410.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1089, allocations: 1.279 MB / 411.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1092, allocations: 0.6805 MB / 412 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.1092, allocations: 11.98 kB / 412.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.1093, allocations: 19.44 kB / 412.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1093, allocations: 0 / 412.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.1309, allocations: 3.627 MB / 415.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.042, allocations: 0 / 415.7 MB, free: 6.672 MB / 350.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)