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.001001/0.001001, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 187.2 kB / 16.25 MB, free: 6.633 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006001/0.006001, allocations: 0.998 MB / 291.1 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.91 kB / 351.7 MB, free: 2.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09304, allocations: 49.66 MB / 401.3 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.1521/0.2452, allocations: 0.5498 MB / 401.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2469, allocations: 1.322 MB / 403.2 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.2469, allocations: 1.188 kB / 403.2 MB, free: 9.742 MB / 286.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 ‘Modelica.Utilities.Streams.readLine‘. [/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.001187/0.2481, allocations: 272.7 kB / 403.5 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.2482, allocations: 23.16 kB / 403.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.137e-05/0.2482, allocations: 13.38 kB / 403.5 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.869e-05/0.2483, allocations: 18.94 kB / 403.5 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.016e-05/0.2483, allocations: 2.453 kB / 403.5 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.2483, allocations: 6.719 kB / 403.5 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.2484, allocations: 17.81 kB / 403.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.014e-06/0.2484, allocations: 0 / 403.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.2488, allocations: 325.8 kB / 403.9 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.2488, allocations: 12.67 kB / 403.9 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.2489, allocations: 26.17 kB / 403.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.2492, allocations: 278 kB / 404.2 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.2492, allocations: 0 / 404.2 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2492, allocations: 3.938 kB / 404.2 MB, free: 9.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2492, allocations: 1.219 kB / 404.2 MB, free: 9.383 MB / 286.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.0003071/0.2495, allocations: 447.3 kB / 404.6 MB, free: 8.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.527e-05/0.2496, allocations: 9.656 kB / 404.6 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.555e-05/0.2496, allocations: 107.7 kB / 404.7 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.2497, allocations: 84.84 kB / 404.8 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.2498, allocations: 279.7 kB / 405.1 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.2498, allocations: 151.9 kB / 405.2 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.2498, allocations: 152.3 kB / 405.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.417e-05/0.2498, allocations: 109.9 kB / 405.5 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2499, allocations: 75.28 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.2499, allocations: 152.5 kB / 405.7 MB, free: 7.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.2499, allocations: 154.6 kB / 405.9 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.2499, allocations: 157.9 kB / 406 MB, free: 7.527 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.2501, allocations: 461.9 kB / 406.5 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.208e-05/0.2502, allocations: 168.7 kB / 406.6 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.2502, allocations: 81.2 kB / 406.7 MB, free: 6.789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2502, allocations: 79.22 kB / 406.8 MB, free: 6.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/0.2503, allocations: 79.5 kB / 406.9 MB, free: 6.621 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.2503, allocations: 0 / 406.9 MB, free: 6.621 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001022/0.2504, allocations: 62.31 kB / 406.9 MB, free: 6.559 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.2504, allocations: 129.8 kB / 407.1 MB, free: 6.402 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2505, allocations: 147.1 kB / 407.2 MB, free: 6.289 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-06/0.2505, allocations: 25.7 kB / 407.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.2506, allocations: 93.95 kB / 407.3 MB, free: 6.168 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.2506, allocations: 4.969 kB / 407.3 MB, free: 6.164 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.2506, allocations: 16.09 kB / 407.3 MB, free: 6.145 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.2507, allocations: 312 kB / 407.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.2507, allocations: 1.375 kB / 407.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/0.2507, allocations: 1.531 kB / 407.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.2507, allocations: 70.27 kB / 407.7 MB, free: 5.754 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2507, allocations: 0 / 407.7 MB, free: 5.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.785e-05/0.2508, allocations: 63.41 kB / 407.8 MB, free: 5.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2508, allocations: 32.59 kB / 407.8 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-06/0.2508, allocations: 5.094 kB / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.2508, allocations: 0 / 407.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.2508, allocations: 5.312 kB / 407.8 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.2508, allocations: 0 / 407.8 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.2509, allocations: 2.562 kB / 407.8 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-06/0.2509, allocations: 0 / 407.8 MB, free: 5.648 MB / 286.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 6.241e-05/0.2509, allocations: 146.9 kB / 408 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.251, allocations: 8.875 kB / 408 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.415e-05/0.251, allocations: 9.531 kB / 408 MB, free: 5.484 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.251, allocations: 4 kB / 408 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.251, allocations: 1.438 kB / 408 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.251, allocations: 3.375 kB / 408 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.259e-05/0.2511, allocations: 165.5 kB / 408.1 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2511, allocations: 1.125 kB / 408.1 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.2511, allocations: 0 / 408.1 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.2511, allocations: 0 / 408.1 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-06/0.2511, allocations: 1.156 kB / 408.2 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2511, allocations: 1.062 kB / 408.2 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2511, allocations: 0 / 408.2 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.826e-05/0.2512, allocations: 103.4 kB / 408.3 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.2512, allocations: 82.8 kB / 408.3 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2513, allocations: 6.438 kB / 408.3 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.2513, allocations: 2.719 kB / 408.3 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-06/0.2513, allocations: 2.234 kB / 408.3 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.2513, allocations: 3.938 kB / 408.3 MB, free: 5.078 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.2514, allocations: 116.8 kB / 408.5 MB, free: 4.992 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2514, allocations: 4.031 kB / 408.5 MB, free: 4.988 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.2517, allocations: 103 kB / 408.6 MB, free: 4.957 MB / 286.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.0008134/0.2526, allocations: 0.911 MB / 409.5 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.041e-05/0.2526, allocations: 59.3 kB / 409.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2526, allocations: 4.062 kB / 409.5 MB, free: 4.172 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.2527, allocations: 59.62 kB / 409.6 MB, free: 4.105 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.2528, allocations: 7.344 kB / 409.6 MB, free: 4.102 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.2536, allocations: 1.283 MB / 410.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.497e-05/0.2537, allocations: 0.6805 MB / 411.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.024e-05/0.2537, allocations: 9.078 kB / 411.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.2537, allocations: 17.42 kB / 411.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2538, allocations: 5.125 kB / 411.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.2673, allocations: 3.541 MB / 415.1 MB, free: 1.707 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001243/0.2674, allocations: 225.6 kB / 415.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.892, allocations: 0 / 415.4 MB, free: 1.453 MB / 286.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)