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+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: translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001029/0.001029, allocations: 185.8 kB / 16.25 MB, free: 6.137 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.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005642/0.005642, allocations: 0.9963 MB / 291.1 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.91 kB / 351.6 MB, free: 2.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08478/0.08599, allocations: 49.65 MB / 401.2 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.1426/0.2287, allocations: 0.5484 MB / 401.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.2305, allocations: 1.322 MB / 403.1 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.2305, allocations: 0.6875 kB / 403.1 MB, free: 9.766 MB / 286.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 ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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+X/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.001492/0.232, allocations: 272.2 kB / 403.3 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.901e-05/0.2321, allocations: 29.84 kB / 403.4 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.671e-05/0.2321, allocations: 9.641 kB / 403.4 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.2322, allocations: 15.09 kB / 403.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.723e-05/0.2322, allocations: 2.656 kB / 403.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.2322, allocations: 10.62 kB / 403.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.2323, allocations: 25.48 kB / 403.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.2323, allocations: 1.656 kB / 403.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.2327, allocations: 316.6 kB / 403.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.2328, allocations: 20.28 kB / 403.8 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.2328, allocations: 10.14 kB / 403.8 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.2332, allocations: 269.3 kB / 404 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2332, allocations: 1.469 kB / 404 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2332, allocations: 4 kB / 404 MB, free: 9.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2332, allocations: 0.5156 kB / 404 MB, free: 9.402 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.0003245/0.2336, allocations: 419.1 kB / 404.5 MB, free: 8.977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.2336, allocations: 9.906 kB / 404.5 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.2337, allocations: 81.19 kB / 404.5 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.613e-05/0.2338, allocations: 248.9 kB / 404.8 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2338, allocations: 150.9 kB / 404.9 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.2338, allocations: 156.8 kB / 405.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.23e-05/0.2338, allocations: 105.1 kB / 405.2 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2338, allocations: 75.28 kB / 405.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2339, allocations: 153.3 kB / 405.4 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.2339, allocations: 154.5 kB / 405.6 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.2339, allocations: 156.2 kB / 405.7 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.2341, allocations: 451.4 kB / 406.2 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.2341, allocations: 171.6 kB / 406.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.2342, allocations: 80.14 kB / 406.4 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.2342, allocations: 80.62 kB / 406.5 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.387e-05/0.2343, allocations: 78.97 kB / 406.6 MB, free: 6.781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.635e-06/0.2343, allocations: 0 / 406.6 MB, free: 6.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.2344, allocations: 72.41 kB / 406.6 MB, free: 6.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2344, allocations: 129.7 kB / 406.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.2345, allocations: 108.3 kB / 406.9 MB, free: 6.453 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.2345, allocations: 26.7 kB / 406.9 MB, free: 6.422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.576e-05/0.2345, allocations: 86.08 kB / 407 MB, free: 6.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.2346, allocations: 7.844 kB / 407 MB, free: 6.328 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.2346, allocations: 16.61 kB / 407 MB, free: 6.309 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.725e-05/0.2346, allocations: 313.1 kB / 407.3 MB, free: 5.996 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-06/0.2346, allocations: 1.031 kB / 407.3 MB, free: 5.996 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-06/0.2346, allocations: 1.922 kB / 407.3 MB, free: 5.996 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.2347, allocations: 61.17 kB / 407.4 MB, free: 5.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2347, allocations: 4.062 kB / 407.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.538e-05/0.2347, allocations: 69.03 kB / 407.4 MB, free: 5.852 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2348, allocations: 30.95 kB / 407.5 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2348, allocations: 0 / 407.5 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2348, allocations: 8.375 kB / 407.5 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.2348, allocations: 0 / 407.5 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2348, allocations: 3.938 kB / 407.5 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.2348, allocations: 1.344 kB / 407.5 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2348, allocations: 0 / 407.5 MB, free: 5.812 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 5.028e-05/0.2349, allocations: 144.4 kB / 407.6 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.2349, allocations: 5.953 kB / 407.6 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.063e-05/0.2349, allocations: 5.047 kB / 407.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2349, allocations: 0 / 407.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2349, allocations: 1.922 kB / 407.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.2349, allocations: 0 / 407.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.156e-05/0.235, allocations: 158.6 kB / 407.8 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.235, allocations: 3.938 kB / 407.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.235, allocations: 0 / 407.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.235, allocations: 1.938 kB / 407.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.235, allocations: 0 / 407.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.235, allocations: 5.062 kB / 407.8 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.235, allocations: 0 / 407.8 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.4e-05/0.2351, allocations: 89 kB / 407.9 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.2351, allocations: 83.25 kB / 408 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2352, allocations: 6.859 kB / 408 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.2352, allocations: 1.062 kB / 408 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.2352, allocations: 5.062 kB / 408 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.2352, allocations: 4.781 kB / 408 MB, free: 5.246 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.073e-05/0.2352, allocations: 91.16 kB / 408.1 MB, free: 5.168 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2353, allocations: 0 / 408.1 MB, free: 5.168 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.2356, allocations: 98.34 kB / 408.2 MB, free: 5.141 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.0006079/0.2362, allocations: 399.4 kB / 408.6 MB, free: 4.957 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.2363, allocations: 57 kB / 408.6 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2363, allocations: 0 / 408.6 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.53e-05/0.2363, allocations: 63.25 kB / 408.7 MB, free: 4.824 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.2365, allocations: 9.094 kB / 408.7 MB, free: 4.82 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001643/0.2366, allocations: 123.3 kB / 408.8 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.601e-05/0.2367, allocations: 0.6802 MB / 409.5 MB, free: 4.008 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.668e-06/0.2367, allocations: 5.406 kB / 409.5 MB, free: 4.004 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.2368, allocations: 11.06 kB / 409.5 MB, free: 3.996 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2368, allocations: 0 / 409.5 MB, free: 3.996 MB / 286.1 MB Notification: Performance of Templates: time 0.004467/0.2412, allocations: 2.271 MB / 411.8 MB, free: 3.742 MB / 286.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile (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 & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)