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+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.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.0009564/0.0009564, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009751/0.0009753, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005434/0.005434, allocations: 0.989 MB / 292 MB, free: 1.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 8 kB / 353.2 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2491, allocations: 50.63 MB / 403.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0006148/0.2497, allocations: 226.4 kB / 404 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.2516, allocations: 1.257 MB / 405.3 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.2517, allocations: 0.75 kB / 405.3 MB, free: 9.695 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.000857/0.2525, allocations: 261.4 kB / 405.5 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.2526, allocations: 27.22 kB / 405.6 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.889e-05/0.2526, allocations: 12.31 kB / 405.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.439e-05/0.2527, allocations: 27.25 kB / 405.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.2527, allocations: 2.766 kB / 405.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.2528, allocations: 10.34 kB / 405.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.2529, allocations: 20.84 kB / 405.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.2529, allocations: 1.922 kB / 405.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.2532, allocations: 260.1 kB / 405.9 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.2533, allocations: 18.55 kB / 405.9 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.2533, allocations: 34.77 kB / 406 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.2536, allocations: 192.9 kB / 406.1 MB, free: 9.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.2537, allocations: 0 / 406.1 MB, free: 9.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2537, allocations: 0 / 406.1 MB, free: 9.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2537, allocations: 4 kB / 406.1 MB, free: 9.449 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.0003394/0.254, allocations: 415.8 kB / 406.6 MB, free: 9.043 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2541, allocations: 8.719 kB / 406.6 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.2541, allocations: 108.7 kB / 406.7 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.2542, allocations: 84.25 kB / 406.7 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.2543, allocations: 278.3 kB / 407 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.2544, allocations: 154.6 kB / 407.2 MB, free: 8.414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.2544, allocations: 151.2 kB / 407.3 MB, free: 8.266 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.96e-05/0.2545, allocations: 110.2 kB / 407.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.2545, allocations: 79.92 kB / 407.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.2545, allocations: 153.3 kB / 407.7 MB, free: 7.926 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.2545, allocations: 150.6 kB / 407.8 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.2546, allocations: 156 kB / 408 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.2548, allocations: 464 kB / 408.4 MB, free: 7.141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.475e-05/0.2548, allocations: 170.9 kB / 408.6 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.2548, allocations: 80.16 kB / 408.7 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.255, allocations: 77.53 kB / 408.7 MB, free: 6.824 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.255, allocations: 0 / 408.7 MB, free: 6.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.2551, allocations: 37.73 kB / 408.8 MB, free: 6.789 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.2551, allocations: 53.56 kB / 408.8 MB, free: 6.727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2553, allocations: 155.1 kB / 409 MB, free: 6.609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.2553, allocations: 26.61 kB / 409 MB, free: 6.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.2553, allocations: 87.2 kB / 409.1 MB, free: 6.492 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.2553, allocations: 0 / 409.1 MB, free: 6.492 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-06/0.2553, allocations: 0 / 409.1 MB, free: 6.492 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.2554, allocations: 317 kB / 409.4 MB, free: 6.176 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.2554, allocations: 4.812 kB / 409.4 MB, free: 6.176 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.2554, allocations: 5 kB / 409.4 MB, free: 6.172 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.242e-05/0.2554, allocations: 5.031 kB / 409.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2554, allocations: 3.938 kB / 409.4 MB, free: 6.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.289e-05/0.2555, allocations: 31.95 kB / 409.4 MB, free: 6.133 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2555, allocations: 5.438 kB / 409.4 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2555, allocations: 3.953 kB / 409.4 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.2555, allocations: 1.156 kB / 409.4 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.721e-05/0.2555, allocations: 4 kB / 409.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2556, allocations: 1 kB / 409.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.2556, allocations: 1.062 kB / 409.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2556, allocations: 4.297 kB / 409.5 MB, free: 6.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.818e-05/0.2557, allocations: 117.3 kB / 409.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.2557, allocations: 10.86 kB / 409.6 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.2557, allocations: 6.625 kB / 409.6 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2557, allocations: 3.953 kB / 409.6 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2558, allocations: 1.031 kB / 409.6 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2558, allocations: 0 / 409.6 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.2559, allocations: 170.4 kB / 409.8 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2559, allocations: 4.297 kB / 409.8 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-06/0.2559, allocations: 1.062 kB / 409.8 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2559, allocations: 4 kB / 409.8 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.2559, allocations: 4.906 kB / 409.8 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2559, allocations: 0 / 409.8 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2559, allocations: 5.016 kB / 409.8 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.875e-05/0.256, allocations: 56.48 kB / 409.8 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.256, allocations: 92.72 kB / 409.9 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.256, allocations: 2.062 kB / 409.9 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.714e-05/0.2561, allocations: 9.266 kB / 409.9 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.2561, allocations: 4.984 kB / 409.9 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.2561, allocations: 0 / 409.9 MB, free: 5.609 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.625e-05/0.2562, allocations: 120.3 kB / 410.1 MB, free: 5.523 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.102e-06/0.2562, allocations: 0 / 410.1 MB, free: 5.523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.2566, allocations: 105.1 kB / 410.2 MB, free: 5.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008383/0.2574, allocations: 0.879 MB / 411 MB, free: 4.809 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.657e-05/0.2575, allocations: 3.844 kB / 411 MB, free: 4.809 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2575, allocations: 0.9062 kB / 411 MB, free: 4.809 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.2575, allocations: 6.438 kB / 411.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.2576, allocations: 11.12 kB / 411.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006724/0.2583, allocations: 0.5211 MB / 411.6 MB, free: 4.406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.2584, allocations: 0.6843 MB / 412.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.628e-05/0.2585, allocations: 24.08 kB / 412.3 MB, free: 3.703 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.2585, allocations: 24.25 kB / 412.3 MB, free: 3.691 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2585, allocations: 0 / 412.3 MB, free: 3.691 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.2752, allocations: 3.527 MB / 415.8 MB, free: 3.305 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/0.2753, allocations: 196 kB / 416 MB, free: 3.066 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.941, allocations: 0 / 416 MB, free: 3.066 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/linux/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) Environment - environmentSimulation: