Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.12.0/package.mo", uses=false) Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",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.004703/0.004703, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.001227/0.001227, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.00704/0.00704, allocations: 1.016 MB / 291.6 MB, free: 13.74 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 61.06 kB / 402.5 MB, free: 32.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08373/0.08564, allocations: 49.65 MB / 452.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002266/0.08795, allocations: 1.258 MB / 453.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.0898, allocations: 1.213 MB / 454.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.08985, allocations: 0 / 454.6 MB, free: 12 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.12.0/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001333/0.09121, allocations: 269.7 kB / 454.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.09133, allocations: 63.86 kB / 454.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.547e-06/0.09134, allocations: 0 / 454.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.09142, allocations: 39.84 kB / 455 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.09146, allocations: 3.938 kB / 455 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.0915, allocations: 19.92 kB / 455 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.09167, allocations: 39.89 kB / 455 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.09169, allocations: 0 / 455 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.09209, allocations: 259.6 kB / 455.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.09217, allocations: 39.89 kB / 455.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.09222, allocations: 23.86 kB / 455.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.09258, allocations: 247.5 kB / 455.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0926, allocations: 0 / 455.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0926, allocations: 0 / 455.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.09261, allocations: 0 / 455.6 MB, free: 11.02 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.000511/0.09313, allocations: 442.5 kB / 456 MB, free: 10.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.09317, allocations: 8.031 kB / 456 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.953e-05/0.09324, allocations: 106 kB / 456.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.09332, allocations: 84.17 kB / 456.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.09359, allocations: 303.5 kB / 456.5 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.09366, allocations: 158.9 kB / 456.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.09373, allocations: 150.9 kB / 456.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.575e-05/0.0938, allocations: 104.9 kB / 456.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.09384, allocations: 79.27 kB / 457 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.0939, allocations: 150.6 kB / 457.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/0.09398, allocations: 158.5 kB / 457.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.09404, allocations: 154.6 kB / 457.5 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.09437, allocations: 473.8 kB / 457.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.09446, allocations: 165.1 kB / 458.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.0945, allocations: 84.14 kB / 458.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.09454, allocations: 83.22 kB / 458.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.09459, allocations: 105.8 kB / 458.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.0946, allocations: 0 / 458.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.968e-05/0.09468, allocations: 41.59 kB / 458.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.09475, allocations: 126.7 kB / 458.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.09497, allocations: 188.7 kB / 458.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.09499, allocations: 29.7 kB / 458.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.09505, allocations: 88.14 kB / 458.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.09506, allocations: 4 kB / 458.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.09508, allocations: 9.719 kB / 458.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.09521, allocations: 322.8 kB / 459.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.09522, allocations: 0 / 459.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.09523, allocations: 4.047 kB / 459.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.09527, allocations: 79.28 kB / 459.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.0953, allocations: 75.28 kB / 459.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.817e-05/0.09537, allocations: 45.61 kB / 459.3 MB, free: 7.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.09542, allocations: 83.22 kB / 459.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/0.09546, allocations: 83.27 kB / 459.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.872e-05/0.09553, allocations: 154.6 kB / 459.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.228e-05/0.09557, allocations: 79.22 kB / 459.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.926e-05/0.09563, allocations: 154.6 kB / 459.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.09573, allocations: 83.22 kB / 460 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.09577, allocations: 75.28 kB / 460 MB, free: 6.328 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001323/0.09591, allocations: 269 kB / 460.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.09599, allocations: 112.9 kB / 460.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.09605, allocations: 112.8 kB / 460.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-05/0.09613, allocations: 184.2 kB / 460.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.719e-05/0.09621, allocations: 184.2 kB / 460.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-05/0.09629, allocations: 176.3 kB / 461 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.09656, allocations: 417.2 kB / 461.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.584e-05/0.09661, allocations: 112.8 kB / 461.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.09666, allocations: 116.9 kB / 461.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.668e-05/0.09676, allocations: 180.2 kB / 461.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/0.09684, allocations: 184.3 kB / 462 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.398e-05/0.09692, allocations: 180.2 kB / 462.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.216e-05/0.097, allocations: 184.2 kB / 462.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.09716, allocations: 311.7 kB / 462.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.09727, allocations: 194 kB / 462.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.09737, allocations: 188.2 kB / 463.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.09748, allocations: 105 kB / 463.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.09756, allocations: 176.3 kB / 463.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.09761, allocations: 112.9 kB / 463.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.09775, allocations: 147.2 kB / 463.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09776, allocations: 0 / 463.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.09816, allocations: 75.73 kB / 463.7 MB, free: 2.457 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001043/0.09921, allocations: 1.049 MB / 464.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.336e-05/0.09926, allocations: 7.922 kB / 464.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.09927, allocations: 0 / 464.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.09928, allocations: 8 kB / 464.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.09967, allocations: 455.7 kB / 465.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.1015, allocations: 2.012 MB / 467.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1018, allocations: 0.6885 MB / 467.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.1018, allocations: 12 kB / 467.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.1019, allocations: 39.41 kB / 467.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1019, allocations: 0 / 467.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.1321, allocations: 3.493 MB / 471.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/7.862, allocations: 8.656 kB / 471.4 MB, free: 10.69 MB / 350.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)