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.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.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.005548/0.005547, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001411/0.001411, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006048/0.006048, allocations: 1.004 MB / 291.5 MB, free: 13.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.14 kB / 402.5 MB, free: 32.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08405/0.08538, allocations: 49.65 MB / 452.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002668/0.08809, allocations: 1.266 MB / 453.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.09007, allocations: 1.217 MB / 454.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.09012, allocations: 3.938 kB / 454.6 MB, free: 11.99 MB / 334.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 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.001236/0.09138, allocations: 254.7 kB / 454.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.617e-05/0.09149, allocations: 55.8 kB / 454.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.0915, allocations: 0 / 454.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.09158, allocations: 39.91 kB / 454.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.09162, allocations: 0 / 454.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.09166, allocations: 23.84 kB / 455 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.0918, allocations: 39.91 kB / 455 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.09182, allocations: 4 kB / 455 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.0923, allocations: 267.6 kB / 455.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.09238, allocations: 31.91 kB / 455.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.09243, allocations: 27.86 kB / 455.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.09287, allocations: 246.3 kB / 455.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09289, allocations: 0 / 455.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09289, allocations: 0 / 455.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.09291, 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.0005811/0.09349, allocations: 431.9 kB / 456 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.09354, allocations: 12.03 kB / 456 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.09361, allocations: 106 kB / 456.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.09382, allocations: 84.22 kB / 456.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.09416, allocations: 291.4 kB / 456.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.09427, allocations: 150.9 kB / 456.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.09433, allocations: 154.9 kB / 456.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.372e-05/0.0944, allocations: 108.9 kB / 456.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.09443, allocations: 79.22 kB / 457 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.09448, allocations: 150.6 kB / 457.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.09453, allocations: 154.6 kB / 457.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.09459, allocations: 154.5 kB / 457.4 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.09492, allocations: 473.9 kB / 457.9 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.09504, allocations: 169.1 kB / 458 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.09509, allocations: 84.08 kB / 458.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.09512, allocations: 79.22 kB / 458.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.09518, allocations: 105.8 kB / 458.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.09518, allocations: 8 kB / 458.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.257e-05/0.09527, allocations: 29.61 kB / 458.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.09534, allocations: 130.7 kB / 458.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.09557, allocations: 188.8 kB / 458.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.0956, allocations: 25.7 kB / 458.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.09565, allocations: 96.14 kB / 458.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.09565, allocations: 0 / 458.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.09568, allocations: 17.7 kB / 458.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.09584, allocations: 318.8 kB / 459.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-06/0.09585, allocations: 3.938 kB / 459.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-06/0.09586, allocations: 4.047 kB / 459.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.09589, allocations: 79.28 kB / 459.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.09592, allocations: 75.28 kB / 459.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.527e-05/0.09599, allocations: 41.7 kB / 459.3 MB, free: 7.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.68e-05/0.09609, allocations: 81.78 kB / 459.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/0.09612, allocations: 83.22 kB / 459.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.761e-05/0.09619, allocations: 154.6 kB / 459.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.309e-05/0.09622, allocations: 79.28 kB / 459.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-05/0.09631, allocations: 154.5 kB / 459.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.637e-05/0.09641, allocations: 83.28 kB / 459.9 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.09644, allocations: 79.22 kB / 460 MB, free: 6.352 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.000182/0.09663, allocations: 273 kB / 460.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.09672, allocations: 112.8 kB / 460.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.09678, allocations: 120.8 kB / 460.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001601/0.09695, allocations: 180.2 kB / 460.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000162/0.09711, allocations: 176.3 kB / 460.8 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.355e-05/0.09718, allocations: 188.2 kB / 461 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.09745, allocations: 421.2 kB / 461.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/0.09749, allocations: 104.9 kB / 461.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.09756, allocations: 104.9 kB / 461.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.008e-05/0.09762, allocations: 184.2 kB / 461.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-05/0.09771, allocations: 184.2 kB / 462 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.571e-05/0.09778, allocations: 184.2 kB / 462.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001367/0.09792, allocations: 176.3 kB / 462.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.09806, allocations: 311.7 kB / 462.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.09818, allocations: 201.8 kB / 462.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.09834, allocations: 184.3 kB / 463 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.09844, allocations: 105 kB / 463.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.09851, allocations: 180.2 kB / 463.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.09855, allocations: 105 kB / 463.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.0987, allocations: 147.2 kB / 463.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0987, allocations: 0 / 463.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.09913, allocations: 79.98 kB / 463.6 MB, free: 2.48 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.0008792/0.1, allocations: 1.046 MB / 464.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.46e-05/0.1001, allocations: 0 / 464.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1001, allocations: 0 / 464.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.1001, allocations: 0 / 464.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.1005, allocations: 467.6 kB / 465.1 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1026, allocations: 2.012 MB / 467.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1029, allocations: 0.6923 MB / 467.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.243e-05/0.1029, allocations: 15.98 kB / 467.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.103, allocations: 31.42 kB / 467.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.103, allocations: 0 / 467.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.1267, allocations: 3.53 MB / 471.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/7.947, allocations: 7.984 kB / 471.4 MB, free: 10.68 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)