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.001062/0.001062, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001706/0.001706, allocations: 188.6 kB / 16.25 MB, free: 6.629 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005873/0.005873, allocations: 1.002 MB / 291.1 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.91 kB / 351.7 MB, free: 2.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.09085, allocations: 49.66 MB / 401.3 MB, free: 436 kB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.1679/0.2588, allocations: 1.324 MB / 402.6 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2604, allocations: 1.197 MB / 403.8 MB, free: 9.191 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.2605, allocations: 0.875 kB / 403.8 MB, free: 9.191 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/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.001167/0.2616, allocations: 225.2 kB / 404.1 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/0.2617, allocations: 58.36 kB / 404.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.2617, allocations: 0 / 404.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.332e-05/0.2618, allocations: 40.7 kB / 404.2 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.2619, allocations: 3.156 kB / 404.2 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.2619, allocations: 18.47 kB / 404.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2621, allocations: 49.84 kB / 404.2 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.2621, allocations: 1 kB / 404.2 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.2624, allocations: 260.8 kB / 404.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.2625, allocations: 27.66 kB / 404.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.2625, allocations: 31.45 kB / 404.5 MB, free: 8.926 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.2628, allocations: 245.1 kB / 404.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2629, allocations: 1.281 kB / 404.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2629, allocations: 0 / 404.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2629, allocations: 0 / 404.8 MB, free: 8.848 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.0004086/0.2633, allocations: 436 kB / 405.2 MB, free: 8.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2633, allocations: 8.781 kB / 405.2 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.453e-05/0.2634, allocations: 109.7 kB / 405.3 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.2634, allocations: 83.7 kB / 405.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.2636, allocations: 296.4 kB / 405.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2636, allocations: 158.8 kB / 405.9 MB, free: 7.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2636, allocations: 156.5 kB / 406 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.676e-05/0.2637, allocations: 106.3 kB / 406.1 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2637, allocations: 75.28 kB / 406.2 MB, free: 7.457 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.2637, allocations: 153 kB / 406.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2637, allocations: 154.6 kB / 406.5 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.2638, allocations: 152.7 kB / 406.6 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.264, allocations: 473.8 kB / 407.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.956e-05/0.264, allocations: 167.2 kB / 407.3 MB, free: 6.348 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.264, allocations: 84.14 kB / 407.3 MB, free: 6.262 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.2641, allocations: 79.22 kB / 407.4 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.2641, allocations: 107.6 kB / 407.5 MB, free: 6.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2641, allocations: 1.25 kB / 407.5 MB, free: 6.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.111e-05/0.2642, allocations: 36.62 kB / 407.6 MB, free: 6.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.2642, allocations: 131.7 kB / 407.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.2644, allocations: 189.1 kB / 407.9 MB, free: 5.766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.2644, allocations: 25.7 kB / 407.9 MB, free: 5.734 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.2644, allocations: 93.02 kB / 408 MB, free: 5.645 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-06/0.2644, allocations: 0.9062 kB / 408 MB, free: 5.645 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.2645, allocations: 11.78 kB / 408 MB, free: 5.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.2645, allocations: 319.5 kB / 408.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-06/0.2645, allocations: 0 / 408.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-06/0.2645, allocations: 0 / 408.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.202e-05/0.2645, allocations: 81.25 kB / 408.4 MB, free: 5.234 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.2646, allocations: 75.28 kB / 408.5 MB, free: 5.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.31e-05/0.2646, allocations: 43.3 kB / 408.5 MB, free: 5.117 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2646, allocations: 83.12 kB / 408.6 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.2647, allocations: 76.38 kB / 408.7 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.2647, allocations: 154 kB / 408.8 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-06/0.2647, allocations: 88.28 kB / 408.9 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.2647, allocations: 159.6 kB / 409.1 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.2648, allocations: 82.53 kB / 409.1 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2648, allocations: 78.09 kB / 409.2 MB, free: 4.426 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: 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 5.865e-05/0.2649, allocations: 267.6 kB / 409.5 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.2649, allocations: 108.4 kB / 409.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.265, allocations: 123.5 kB / 409.7 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.265, allocations: 180.3 kB / 409.9 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/0.265, allocations: 181.2 kB / 410.1 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.265, allocations: 177.5 kB / 410.2 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2652, allocations: 420.2 kB / 410.6 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.2652, allocations: 113.2 kB / 410.7 MB, free: 2.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/0.2652, allocations: 105 kB / 410.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/0.2652, allocations: 185.2 kB / 411 MB, free: 2.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.2653, allocations: 178.1 kB / 411.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-05/0.2653, allocations: 183.9 kB / 411.4 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-05/0.2653, allocations: 181.7 kB / 411.6 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.012e-05/0.2654, allocations: 322.1 kB / 411.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.2654, allocations: 201 kB / 412.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.2655, allocations: 182.5 kB / 412.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.2656, allocations: 103.2 kB / 412.4 MB, free: 1.152 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.2656, allocations: 178.2 kB / 412.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2656, allocations: 114.1 kB / 412.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.2657, allocations: 151.3 kB / 412.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2657, allocations: 0 / 412.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.2661, allocations: 80.23 kB / 412.9 MB, free: 0.7383 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: 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.000726/0.2668, allocations: 1.013 MB / 413.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.473e-05/0.2669, allocations: 6.016 kB / 413.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2669, allocations: 0 / 413.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.2669, allocations: 4 kB / 413.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.2673, allocations: 459.1 kB / 414.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.269, allocations: 2.021 MB / 416.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2692, allocations: 0.6857 MB / 417 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.2692, allocations: 14.69 kB / 417.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.2693, allocations: 36.2 kB / 417.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2693, allocations: 0 / 417.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.2863, allocations: 3.38 MB / 420.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.2865, allocations: 213.4 kB / 420.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.89, allocations: 0 / 420.7 MB, free: 12.27 MB / 302.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)