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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007301/0.007302, allocations: 0.9744 MB / 14.23 MB, free: 1.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.3 MB / 236.3 MB, free: 13.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008582/0.0008581, allocations: 101.8 kB / 287.5 MB, free: 11.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.148e-05, allocations: 7.984 kB / 346.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2854, allocations: 50.61 MB / 396.7 MB, free: 33.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09795/0.3834, allocations: 77.24 MB / 474 MB, free: 3.871 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.3837, allocations: 68.44 kB / 474 MB, free: 3.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01437/0.3981, allocations: 4.845 MB / 478.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3981, allocations: 0 / 478.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.3981, allocations: 3.938 kB / 478.9 MB, free: 14.96 MB / 362.7 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.0004221/0.3986, allocations: 414.3 kB / 479.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3986, allocations: 12.03 kB / 479.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.814e-05/0.3987, allocations: 109.8 kB / 479.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.3988, allocations: 83.27 kB / 479.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.399, allocations: 274.2 kB / 479.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.3991, allocations: 154.5 kB / 479.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.3991, allocations: 154.5 kB / 480.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.335e-05/0.3992, allocations: 104.9 kB / 480.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.3992, allocations: 79.28 kB / 480.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.3993, allocations: 150.6 kB / 480.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.3993, allocations: 154.6 kB / 480.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.358e-05/0.3994, allocations: 158.5 kB / 480.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.3997, allocations: 461.9 kB / 481.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/0.3998, allocations: 173.1 kB / 481.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.3998, allocations: 80.14 kB / 481.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3999, allocations: 75.28 kB / 481.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.4, allocations: 79.27 kB / 481.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.756e-06/0.4, allocations: 0 / 481.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.4001, allocations: 33.69 kB / 481.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.4002, allocations: 55.41 kB / 481.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4003, allocations: 131.5 kB / 481.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.4003, allocations: 25.7 kB / 481.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.4004, allocations: 92.17 kB / 481.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.4004, allocations: 7.891 kB / 481.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.4004, allocations: 0 / 481.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4005, allocations: 318.8 kB / 482.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.4005, allocations: 3.938 kB / 482.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.4006, allocations: 4 kB / 482.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.242e-05/0.4006, allocations: 0 / 482.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4006, allocations: 0 / 482.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.905e-05/0.4006, allocations: 37.77 kB / 482.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4007, allocations: 4 kB / 482.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4007, allocations: 3.953 kB / 482.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4007, allocations: 3.938 kB / 482.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.4007, allocations: 3.984 kB / 482.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4007, allocations: 0 / 482.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.4008, allocations: 8 kB / 482.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.4008, allocations: 0 / 482.3 MB, free: 11.35 MB / 362.7 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 () * 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.804e-05/0.4009, allocations: 105 kB / 482.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.4009, allocations: 7.906 kB / 482.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.4009, allocations: 19.67 kB / 482.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4009, allocations: 7.891 kB / 482.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4009, allocations: 0 / 482.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4009, allocations: 0 / 482.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.4011, allocations: 165.6 kB / 482.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4011, allocations: 0 / 482.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-06/0.4011, allocations: 0 / 482.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4011, allocations: 0 / 482.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.4011, allocations: 0 / 482.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4011, allocations: 3.047 kB / 482.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.4011, allocations: 7.953 kB / 482.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.755e-05/0.4012, allocations: 65.12 kB / 482.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.4013, allocations: 85.02 kB / 482.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.4013, allocations: 3.984 kB / 482.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.963e-05/0.4013, allocations: 4 kB / 482.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.4014, allocations: 3.953 kB / 482.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.4014, allocations: 0 / 482.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.969e-05/0.4015, allocations: 123.2 kB / 482.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4015, allocations: 0 / 482.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.4019, allocations: 127.9 kB / 483 MB, free: 10.55 MB / 362.7 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 () * 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.001092/0.403, allocations: 0.9026 MB / 483.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.393e-05/0.4031, allocations: 8 kB / 483.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4031, allocations: 0 / 483.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.341e-06/0.4031, allocations: 4 kB / 483.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.4032, allocations: 4 kB / 483.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.4036, allocations: 183.1 kB / 484.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.4039, allocations: 0.6848 MB / 484.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.162e-05/0.4039, allocations: 19.98 kB / 484.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.404, allocations: 31.55 kB / 484.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.404, allocations: 0 / 484.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.4218, allocations: 3.518 MB / 488.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.4221, allocations: 166 kB / 488.5 MB, free: 5.078 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.191, allocations: 0 / 488.5 MB, free: 5.078 MB / 362.7 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)