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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007066/0.007066, allocations: 0.9666 MB / 9.043 MB, free: 8 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 231.2 MB, free: 6.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009087, allocations: 103.5 kB / 282.3 MB, free: 3.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.789e-05, allocations: 3.984 kB / 339.2 MB, free: 8.086 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 50.65 MB / 389.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.5174, allocations: 76.35 MB / 466.2 MB, free: 0 / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5177, allocations: 68.97 kB / 466.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.529, allocations: 3.757 MB / 470 MB, free: 12.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.529, allocations: 0 / 470 MB, free: 12.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.5291, allocations: 0 / 470 MB, free: 12.19 MB / 346.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.0004125/0.5295, allocations: 402.6 kB / 470.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5295, allocations: 8.031 kB / 470.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.5296, allocations: 87.97 kB / 470.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.5299, allocations: 287.8 kB / 470.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.5299, allocations: 154.6 kB / 471 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.53, allocations: 150.6 kB / 471.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.288e-05/0.5301, allocations: 158.5 kB / 471.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.437e-05/0.5301, allocations: 104.9 kB / 471.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.5302, allocations: 75.28 kB / 471.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.5302, allocations: 150.6 kB / 471.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.5303, allocations: 154.6 kB / 471.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.5306, allocations: 446.5 kB / 472.2 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.5307, allocations: 165.1 kB / 472.3 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.5308, allocations: 84.14 kB / 472.4 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.5308, allocations: 79.28 kB / 472.5 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.5309, allocations: 114.7 kB / 472.6 MB, free: 9.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.5309, allocations: 3.938 kB / 472.6 MB, free: 9.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.221e-05/0.531, allocations: 37.56 kB / 472.7 MB, free: 9.418 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.531, allocations: 51.41 kB / 472.7 MB, free: 9.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.5312, allocations: 147.9 kB / 472.8 MB, free: 9.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.5312, allocations: 25.7 kB / 472.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.5313, allocations: 100.1 kB / 473 MB, free: 9.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.5313, allocations: 0 / 473 MB, free: 9.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/0.5313, allocations: 0 / 473 MB, free: 9.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5314, allocations: 323.7 kB / 473.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-06/0.5314, allocations: 0 / 473.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-06/0.5314, allocations: 0 / 473.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.5315, allocations: 75.28 kB / 473.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.991e-05/0.5315, allocations: 75.28 kB / 473.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.913e-05/0.5316, allocations: 37.64 kB / 473.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.5316, allocations: 83.28 kB / 473.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.5317, allocations: 79.28 kB / 473.6 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.526e-05/0.5317, allocations: 154.5 kB / 473.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.5318, allocations: 87.14 kB / 473.9 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-05/0.5319, allocations: 150.6 kB / 474 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.103e-05/0.5319, allocations: 79.28 kB / 474.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.532, allocations: 83.22 kB / 474.2 MB, free: 7.848 MB / 346.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: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.5321, allocations: 255.5 kB / 474.4 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.297e-05/0.5322, allocations: 146.5 kB / 474.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.5323, allocations: 120.8 kB / 474.7 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/0.5324, allocations: 109 kB / 474.8 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.538e-05/0.5324, allocations: 180.3 kB / 475 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.559e-05/0.5325, allocations: 180.2 kB / 475.1 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.318e-05/0.5326, allocations: 184.2 kB / 475.3 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.5328, allocations: 397.8 kB / 475.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.926e-05/0.5329, allocations: 104.9 kB / 475.8 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.5329, allocations: 101 kB / 475.9 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.252e-05/0.533, allocations: 185.2 kB / 476.1 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.5331, allocations: 184.2 kB / 476.3 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-05/0.5332, allocations: 180.2 kB / 476.4 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.33e-05/0.5332, allocations: 180.2 kB / 476.6 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.5334, allocations: 315.7 kB / 476.9 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.845e-05/0.5335, allocations: 186.1 kB / 477.1 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/0.5336, allocations: 180.6 kB / 477.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.5337, allocations: 109 kB / 477.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.5338, allocations: 184.2 kB / 477.6 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.5338, allocations: 108.9 kB / 477.7 MB, free: 4.113 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.5339, allocations: 131.2 kB / 477.8 MB, free: 3.984 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5339, allocations: 0 / 477.8 MB, free: 3.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005073/0.5344, allocations: 91.91 kB / 477.9 MB, free: 3.895 MB / 346.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: 0 () * Number of discrete 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 (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.001091/0.5355, allocations: 1.042 MB / 478.9 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 3.779e-05/0.5356, allocations: 4 kB / 478.9 MB, free: 2.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5356, allocations: 0 / 478.9 MB, free: 2.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.5356, allocations: 0 / 478.9 MB, free: 2.867 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.536, allocations: 0.5301 MB / 479.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.5365, allocations: 268.5 kB / 479.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.5368, allocations: 0.6963 MB / 480.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.5369, allocations: 16.17 kB / 480.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.537, allocations: 31.42 kB / 480.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.537, allocations: 0 / 480.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.5668, allocations: 2.819 MB / 483.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/0.5672, allocations: 143.5 kB / 483.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.174, allocations: 0 / 483.4 MB, free: 14.25 MB / 362.7 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/linux/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)