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+X/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+X/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.00086/0.0008602, allocations: 181.1 kB / 15.45 MB, free: 0.6523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.004725/0.004725, allocations: 0.9974 MB / 17.19 MB, free: 5.711 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.281/1.281, allocations: 223.3 MB / 241.4 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007305/0.0007304, allocations: 95.75 kB / 292.8 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 11.94 kB / 354.3 MB, free: 1.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2685, allocations: 50.62 MB / 404.9 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001511/0.2701, allocations: 0.9831 MB / 405.9 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.272, allocations: 1.198 MB / 407.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.2721, allocations: 0 / 407.1 MB, free: 9.438 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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.00116/0.2732, allocations: 214.9 kB / 407.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.2733, allocations: 60.66 kB / 407.4 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.856e-06/0.2734, allocations: 0.9375 kB / 407.4 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.2735, allocations: 121.1 kB / 407.5 MB, free: 9.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.2735, allocations: 2.734 kB / 407.5 MB, free: 9.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.2736, allocations: 12.23 kB / 407.5 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.2738, allocations: 54.06 kB / 407.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.2738, allocations: 1.031 kB / 407.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.2742, allocations: 253.4 kB / 407.8 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.2742, allocations: 34.94 kB / 407.9 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.2743, allocations: 58.38 kB / 407.9 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.2746, allocations: 240.8 kB / 408.1 MB, free: 9.039 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2747, allocations: 0 / 408.1 MB, free: 9.039 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2747, allocations: 0 / 408.1 MB, free: 9.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2747, allocations: 1.062 kB / 408.1 MB, free: 9.039 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.0004331/0.2751, allocations: 418.5 kB / 408.6 MB, free: 8.629 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2752, allocations: 9.031 kB / 408.6 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.2752, allocations: 111.5 kB / 408.7 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.2753, allocations: 82.44 kB / 408.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.2755, allocations: 304.6 kB / 409 MB, free: 8.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.2755, allocations: 151.6 kB / 409.2 MB, free: 7.984 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.2755, allocations: 150.9 kB / 409.3 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.343e-05/0.2756, allocations: 106.8 kB / 409.4 MB, free: 7.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2756, allocations: 75.28 kB / 409.5 MB, free: 7.652 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.2756, allocations: 151.9 kB / 409.7 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.2757, allocations: 154.6 kB / 409.8 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.2757, allocations: 159.8 kB / 410 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.2759, allocations: 466.9 kB / 410.4 MB, free: 6.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.2759, allocations: 166.3 kB / 410.6 MB, free: 6.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.276, allocations: 88.14 kB / 410.7 MB, free: 6.453 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.276, allocations: 80.64 kB / 410.8 MB, free: 6.375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.276, allocations: 115.9 kB / 410.9 MB, free: 6.254 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.276, allocations: 0 / 410.9 MB, free: 6.254 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.917e-05/0.2761, allocations: 32.92 kB / 410.9 MB, free: 6.219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2761, allocations: 127.3 kB / 411 MB, free: 6.082 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2763, allocations: 189 kB / 411.2 MB, free: 5.953 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.66e-06/0.2763, allocations: 25.7 kB / 411.2 MB, free: 5.922 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.2764, allocations: 97.11 kB / 411.3 MB, free: 5.828 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.2764, allocations: 1.125 kB / 411.3 MB, free: 5.828 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.2764, allocations: 9.719 kB / 411.3 MB, free: 5.812 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.2765, allocations: 315.2 kB / 411.7 MB, free: 5.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-06/0.2765, allocations: 0 / 411.7 MB, free: 5.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-06/0.2765, allocations: 0.9688 kB / 411.7 MB, free: 5.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.426e-05/0.2765, allocations: 80.5 kB / 411.7 MB, free: 5.422 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.2765, allocations: 76.44 kB / 411.8 MB, free: 5.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.542e-05/0.2766, allocations: 45.23 kB / 411.9 MB, free: 5.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2766, allocations: 81.77 kB / 411.9 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2766, allocations: 76.53 kB / 412 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.2766, allocations: 155.6 kB / 412.2 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.14e-05/0.2767, allocations: 81.34 kB / 412.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/0.2767, allocations: 159.8 kB / 412.4 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.2768, allocations: 87.48 kB / 412.5 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.2768, allocations: 79.22 kB / 412.6 MB, free: 4.605 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 6.635e-05/0.2769, allocations: 270.3 kB / 412.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.2769, allocations: 117.8 kB / 412.9 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.2769, allocations: 110.9 kB / 413 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.277, allocations: 182.1 kB / 413.2 MB, free: 3.926 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/0.277, allocations: 186.6 kB / 413.4 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.277, allocations: 177.1 kB / 413.6 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2772, allocations: 421.5 kB / 414 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.2772, allocations: 104.9 kB / 414.1 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.2772, allocations: 114.9 kB / 414.2 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.492e-05/0.2773, allocations: 178.5 kB / 414.4 MB, free: 2.703 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.2773, allocations: 178 kB / 414.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.448e-05/0.2773, allocations: 182.4 kB / 414.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-05/0.2773, allocations: 177.7 kB / 414.9 MB, free: 2.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.229e-05/0.2774, allocations: 315.8 kB / 415.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.2775, allocations: 196.3 kB / 415.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.2775, allocations: 189.4 kB / 415.6 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.2776, allocations: 105.7 kB / 415.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.2776, allocations: 184.5 kB / 415.9 MB, free: 1.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.2777, allocations: 106.2 kB / 416 MB, free: 1.039 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.2778, allocations: 148.1 kB / 416.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2778, allocations: 0 / 416.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.2782, allocations: 80.58 kB / 416.2 MB, free: 0.9219 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.0008421/0.2791, allocations: 1.034 MB / 417.2 MB, free: 28 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.728e-05/0.2791, allocations: 1.312 kB / 417.2 MB, free: 28 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2791, allocations: 0 / 417.2 MB, free: 28 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.2791, allocations: 4 kB / 417.2 MB, free: 24 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.2796, allocations: 0.5217 MB / 417.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.2813, allocations: 2.023 MB / 419.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.2816, allocations: 0.6887 MB / 420.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.2816, allocations: 12.05 kB / 420.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.2817, allocations: 34.02 kB / 420.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2817, allocations: 0 / 420.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.3021, allocations: 3.239 MB / 423.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.3024, allocations: 213.6 kB / 424 MB, free: 12.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.947, allocations: 7.875 kB / 424 MB, free: 12.44 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/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)