Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",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.0007764/0.0007765, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005133/0.005133, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005618/0.005618, allocations: 0.9923 MB / 292.4 MB, free: 1.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003112, allocations: 8 kB / 353.9 MB, free: 1.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2375, allocations: 50.63 MB / 404.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0004763/0.238, allocations: 224.3 kB / 404.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.2401, allocations: 1.333 MB / 406.1 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.484e-05/0.2401, allocations: 0 / 406.1 MB, free: 9.871 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.001075/0.2412, allocations: 251.7 kB / 406.3 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.571e-05/0.2413, allocations: 27.27 kB / 406.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.662e-05/0.2413, allocations: 10.88 kB / 406.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.2414, allocations: 28.27 kB / 406.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.2414, allocations: 1.641 kB / 406.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.2414, allocations: 11 kB / 406.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.2415, allocations: 28.25 kB / 406.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2415, allocations: 5.094 kB / 406.5 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.2419, allocations: 315.2 kB / 406.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.242, allocations: 15.33 kB / 406.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.242, allocations: 49.44 kB / 406.8 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.2424, allocations: 290.7 kB / 407.1 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2424, allocations: 1.125 kB / 407.1 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2424, allocations: 4 kB / 407.1 MB, free: 9.551 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2424, allocations: 0 / 407.1 MB, free: 9.551 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.0003153/0.2427, allocations: 415.7 kB / 407.5 MB, free: 9.145 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2428, allocations: 9.281 kB / 407.5 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.2428, allocations: 109 kB / 407.6 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.2429, allocations: 84.19 kB / 407.7 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.243, allocations: 278.1 kB / 408 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.243, allocations: 156.1 kB / 408.1 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.2431, allocations: 150.9 kB / 408.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.429e-05/0.2431, allocations: 107.1 kB / 408.4 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2431, allocations: 79.28 kB / 408.5 MB, free: 8.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.2431, allocations: 152.5 kB / 408.6 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.2432, allocations: 155.7 kB / 408.8 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.2432, allocations: 155.8 kB / 408.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.2434, allocations: 461.2 kB / 409.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.638e-05/0.2434, allocations: 170.4 kB / 409.5 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.2434, allocations: 80.14 kB / 409.6 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2435, allocations: 92.17 kB / 409.7 MB, free: 6.898 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.2436, allocations: 64.69 kB / 409.8 MB, free: 6.848 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.2436, allocations: 0 / 409.8 MB, free: 6.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.2437, allocations: 42.33 kB / 409.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.2437, allocations: 52.56 kB / 409.9 MB, free: 6.746 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.2439, allocations: 155.8 kB / 410 MB, free: 6.629 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.2439, allocations: 29.64 kB / 410 MB, free: 6.594 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.2439, allocations: 87.73 kB / 410.1 MB, free: 6.508 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.244, allocations: 0.9688 kB / 410.1 MB, free: 6.508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.244, allocations: 9.719 kB / 410.1 MB, free: 6.492 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.244, allocations: 319 kB / 410.5 MB, free: 6.176 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.244, allocations: 5.859 kB / 410.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.244, allocations: 1.125 kB / 410.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.794e-05/0.2441, allocations: 7.734 kB / 410.5 MB, free: 6.164 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2441, allocations: 3.938 kB / 410.5 MB, free: 6.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.795e-05/0.2441, allocations: 41.56 kB / 410.5 MB, free: 6.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.2441, allocations: 5.344 kB / 410.5 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2442, allocations: 0 / 410.5 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.2442, allocations: 1.75 kB / 410.5 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.544e-05/0.2442, allocations: 4.094 kB / 410.5 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2442, allocations: 5.922 kB / 410.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.2442, allocations: 1.062 kB / 410.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.2442, allocations: 5.031 kB / 410.5 MB, free: 6.109 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): 1 * 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 5.334e-05/0.2443, allocations: 116.8 kB / 410.6 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.2443, allocations: 8.391 kB / 410.7 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.2443, allocations: 7.875 kB / 410.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2444, allocations: 0.875 kB / 410.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2444, allocations: 1.703 kB / 410.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2444, allocations: 4 kB / 410.7 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.058e-05/0.2445, allocations: 169.9 kB / 410.8 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2445, allocations: 1.938 kB / 410.8 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-06/0.2445, allocations: 0 / 410.8 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2445, allocations: 0.875 kB / 410.8 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.2445, allocations: 5.703 kB / 410.8 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2445, allocations: 0 / 410.8 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2445, allocations: 1.094 kB / 410.8 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.694e-05/0.2446, allocations: 68.5 kB / 410.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.2446, allocations: 83.84 kB / 411 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.2446, allocations: 7.516 kB / 411 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.026e-05/0.2447, allocations: 8.578 kB / 411 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.2447, allocations: 2.031 kB / 411 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.2447, allocations: 3.938 kB / 411 MB, free: 5.598 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.88e-05/0.2448, allocations: 119.5 kB / 411.1 MB, free: 5.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2448, allocations: 0 / 411.1 MB, free: 5.512 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.2451, allocations: 102 kB / 411.2 MB, free: 5.484 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0007563/0.2459, allocations: 0.8945 MB / 412.1 MB, free: 4.789 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.625e-05/0.246, allocations: 4.688 kB / 412.1 MB, free: 4.789 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.246, allocations: 0 / 412.1 MB, free: 4.789 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.246, allocations: 2.609 kB / 412.1 MB, free: 4.789 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.2461, allocations: 20.92 kB / 412.2 MB, free: 4.777 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000831/0.247, allocations: 1.27 MB / 413.4 MB, free: 3.621 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.91e-05/0.2471, allocations: 0.6812 MB / 414.1 MB, free: 2.926 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.771e-05/0.2471, allocations: 16.38 kB / 414.1 MB, free: 2.926 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.2472, allocations: 27.02 kB / 414.1 MB, free: 2.914 MB / 286.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2472, allocations: 0 / 414.1 MB, free: 2.914 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.2621, allocations: 3.57 MB / 417.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/0.2622, allocations: 218.1 kB / 417.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/1.953, allocations: 3.938 kB / 417.9 MB, free: 2.262 MB / 286.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)