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.00162/0.00162, allocations: 174.1 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.006461/0.006461, 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.523/1.523, allocations: 221.4 MB / 236.3 MB, free: 13.27 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.0009489/0.0009491, allocations: 95.86 kB / 287.5 MB, free: 11.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.276e-05, allocations: 4 kB / 346.1 MB, free: 1.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3046, allocations: 50.62 MB / 396.7 MB, free: 33.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4404, allocations: 77.03 MB / 473.8 MB, free: 4.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4407, allocations: 67.91 kB / 473.8 MB, free: 4.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01613/0.4569, allocations: 3.872 MB / 477.7 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4569, allocations: 0 / 477.7 MB, free: 144 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.4569, allocations: 0 / 477.7 MB, free: 144 kB / 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.0004932/0.4574, allocations: 406.5 kB / 478.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.4575, allocations: 8.031 kB / 478.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.909e-05/0.4576, allocations: 109.8 kB / 478.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.4577, allocations: 83.19 kB / 478.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.4581, allocations: 287.8 kB / 478.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.657e-05/0.4581, allocations: 154.6 kB / 478.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.4582, allocations: 158.5 kB / 478.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.248e-05/0.4583, allocations: 101.8 kB / 479 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.4584, allocations: 79.28 kB / 479.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.4585, allocations: 150.6 kB / 479.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.4585, allocations: 150.6 kB / 479.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.419e-05/0.4586, allocations: 154.5 kB / 479.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.4591, allocations: 473.9 kB / 480 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.143e-05/0.4592, allocations: 165.1 kB / 480.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.4592, allocations: 84.17 kB / 480.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.4593, allocations: 83.23 kB / 480.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.4593, allocations: 109.8 kB / 480.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.452e-06/0.4594, allocations: 4 kB / 480.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001134/0.4595, allocations: 37.55 kB / 480.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.4596, allocations: 130.7 kB / 480.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.4598, allocations: 151.4 kB / 480.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4599, allocations: 25.7 kB / 480.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.4599, allocations: 92.14 kB / 480.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.4599, allocations: 0 / 480.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-07/0.4599, allocations: 0 / 480.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4601, allocations: 326.8 kB / 481.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-06/0.4601, allocations: 0 / 481.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-06/0.4601, allocations: 0 / 481.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.4602, allocations: 75.28 kB / 481.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/0.4602, allocations: 75.28 kB / 481.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001081/0.4603, allocations: 37.59 kB / 481.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.4604, allocations: 83.28 kB / 481.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/0.4604, allocations: 83.22 kB / 481.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.491e-05/0.4605, allocations: 158.5 kB / 481.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.197e-05/0.4606, allocations: 79.22 kB / 481.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.609e-05/0.4607, allocations: 154.6 kB / 481.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4608, allocations: 79.22 kB / 482 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.4608, allocations: 79.28 kB / 482 MB, free: 11.57 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: 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.0001426/0.461, allocations: 255.5 kB / 482.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.4611, allocations: 124.7 kB / 482.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.4612, allocations: 112.6 kB / 482.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.896e-05/0.4613, allocations: 176.3 kB / 482.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-05/0.4613, allocations: 180.2 kB / 482.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-05/0.4614, allocations: 184.3 kB / 483.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.4618, allocations: 421.1 kB / 483.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.805e-05/0.4618, allocations: 109 kB / 483.6 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.4619, allocations: 101 kB / 483.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-05/0.4619, allocations: 184.2 kB / 483.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.462, allocations: 189.1 kB / 484 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.035e-05/0.4621, allocations: 180.2 kB / 484.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.656e-05/0.4622, allocations: 180.3 kB / 484.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.4624, allocations: 315.7 kB / 484.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.4625, allocations: 190 kB / 484.9 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.4626, allocations: 184.2 kB / 485.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.4628, allocations: 113.4 kB / 485.2 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/0.4629, allocations: 180.2 kB / 485.3 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.4629, allocations: 108.9 kB / 485.5 MB, free: 7.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.4631, allocations: 129.7 kB / 485.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4631, allocations: 0 / 485.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007133/0.4638, allocations: 95.89 kB / 485.7 MB, free: 7.719 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: 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.001314/0.4652, allocations: 1.047 MB / 486.7 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.484e-05/0.4652, allocations: 4 kB / 486.7 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4652, allocations: 0 / 486.7 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4652, allocations: 0 / 486.7 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.4657, allocations: 0.5341 MB / 487.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/0.4664, allocations: 266 kB / 487.5 MB, free: 5.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.4668, allocations: 0.6926 MB / 488.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.995e-05/0.4669, allocations: 16.17 kB / 488.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.467, allocations: 35.41 kB / 488.3 MB, free: 5.098 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.467, allocations: 0 / 488.3 MB, free: 5.098 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.4898, allocations: 3.138 MB / 491.4 MB, free: 2.086 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/0.4901, allocations: 163.4 kB / 491.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.26, allocations: 0 / 491.6 MB, free: 1.867 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)