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.001007/0.001007, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001013/0.001013, allocations: 195.2 kB / 16.14 MB, free: 6.664 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005813/0.005813, allocations: 1.001 MB / 291 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 67.89 kB / 351.5 MB, free: 2.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07113/0.07223, allocations: 49.65 MB / 401.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.1235/0.1957, allocations: 1.299 MB / 402.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1973, allocations: 1.217 MB / 403.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.885e-05/0.1973, allocations: 0 / 403.7 MB, free: 9.297 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.00112/0.1985, allocations: 220.6 kB / 403.9 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.099e-05/0.1986, allocations: 57.09 kB / 403.9 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.055e-06/0.1986, allocations: 0 / 403.9 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1987, allocations: 117.4 kB / 404 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.1987, allocations: 3.203 kB / 404.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.1988, allocations: 20.19 kB / 404.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1989, allocations: 47.84 kB / 404.1 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1989, allocations: 1.438 kB / 404.1 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.1993, allocations: 256.7 kB / 404.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.1994, allocations: 27.19 kB / 404.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.1995, allocations: 34.48 kB / 404.4 MB, free: 9.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.1998, allocations: 239.3 kB / 404.7 MB, free: 8.938 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1998, allocations: 0 / 404.7 MB, free: 8.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1998, allocations: 0 / 404.7 MB, free: 8.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1998, allocations: 1.188 kB / 404.7 MB, free: 8.938 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.0004/0.2003, allocations: 441.1 kB / 405.1 MB, free: 8.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2003, allocations: 13.91 kB / 405.1 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.374e-05/0.2003, allocations: 109.2 kB / 405.2 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.2004, allocations: 82.47 kB / 405.3 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2005, allocations: 289.1 kB / 405.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2006, allocations: 155.7 kB / 405.7 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.2006, allocations: 156.4 kB / 405.9 MB, free: 7.734 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.203e-05/0.2006, allocations: 114.7 kB / 406 MB, free: 7.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2006, allocations: 77.39 kB / 406.1 MB, free: 7.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2007, allocations: 154.5 kB / 406.2 MB, free: 7.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.2007, allocations: 151.8 kB / 406.4 MB, free: 7.242 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.716e-05/0.2007, allocations: 150.6 kB / 406.5 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.2009, allocations: 475.8 kB / 407 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.219e-05/0.2009, allocations: 166.2 kB / 407.1 MB, free: 6.434 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.2009, allocations: 84.83 kB / 407.2 MB, free: 6.348 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.201, allocations: 79.22 kB / 407.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.201, allocations: 106.9 kB / 407.4 MB, free: 6.156 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.201, allocations: 4 kB / 407.4 MB, free: 6.152 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.9e-05/0.2011, allocations: 33.81 kB / 407.4 MB, free: 6.117 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.2011, allocations: 128.5 kB / 407.6 MB, free: 5.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.2013, allocations: 188.6 kB / 407.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-06/0.2013, allocations: 26.86 kB / 407.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.2013, allocations: 93.38 kB / 407.9 MB, free: 5.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.2013, allocations: 0 / 407.9 MB, free: 5.734 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.2013, allocations: 10.88 kB / 407.9 MB, free: 5.719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.707e-05/0.2014, allocations: 325.3 kB / 408.2 MB, free: 5.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-06/0.2014, allocations: 0 / 408.2 MB, free: 5.398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.2014, allocations: 3.938 kB / 408.2 MB, free: 5.395 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.127e-06/0.2014, allocations: 76.56 kB / 408.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.2014, allocations: 75.28 kB / 408.4 MB, free: 5.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.598e-05/0.2015, allocations: 38.81 kB / 408.4 MB, free: 5.207 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2015, allocations: 80.5 kB / 408.5 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2015, allocations: 77.03 kB / 408.5 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.2016, allocations: 164.3 kB / 408.7 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-06/0.2016, allocations: 81.14 kB / 408.8 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.2016, allocations: 155.2 kB / 408.9 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.2017, allocations: 83.11 kB / 409 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2017, allocations: 77.06 kB / 409.1 MB, free: 4.516 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.269e-05/0.2017, allocations: 273.6 kB / 409.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.2018, allocations: 109.3 kB / 409.5 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.2018, allocations: 115 kB / 409.6 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.2018, allocations: 182.2 kB / 409.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/0.2019, allocations: 178.2 kB / 409.9 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.2019, allocations: 182.1 kB / 410.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.202, allocations: 424.8 kB / 410.5 MB, free: 3.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.202, allocations: 106.5 kB / 410.6 MB, free: 2.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.2021, allocations: 106.7 kB / 410.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.2021, allocations: 177.9 kB / 410.9 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.2021, allocations: 186 kB / 411.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-05/0.2021, allocations: 186.9 kB / 411.3 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.682e-05/0.2021, allocations: 178.9 kB / 411.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.016e-05/0.2022, allocations: 307.5 kB / 411.7 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.2023, allocations: 207.6 kB / 411.9 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.2023, allocations: 183.8 kB / 412.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.2024, allocations: 104.2 kB / 412.2 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.2024, allocations: 182.2 kB / 412.4 MB, free: 1.059 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2024, allocations: 107.7 kB / 412.5 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.2025, allocations: 154.5 kB / 412.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2025, allocations: 0 / 412.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.2029, allocations: 81.56 kB / 412.7 MB, free: 0.8281 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.0006442/0.2036, allocations: 1.035 MB / 413.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.588e-05/0.2036, allocations: 1.094 kB / 413.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2036, allocations: 0 / 413.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.2036, allocations: 0.9688 kB / 413.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.204, allocations: 0.5246 MB / 414.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.2055, allocations: 2.016 MB / 416.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2058, allocations: 0.6915 MB / 417 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.957e-05/0.2058, allocations: 13.25 kB / 417 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.2059, allocations: 33.27 kB / 417.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2059, allocations: 0 / 417.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2848/0.4907, allocations: 3.323 MB / 420.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.4909, allocations: 213.3 kB / 420.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.088, allocations: 1.375 kB / 420.6 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)