Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",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.00143/0.001429, allocations: 108 kB / 15.63 MB, free: 112 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001717, allocations: 192.5 kB / 16.55 MB, free: 6.656 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.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006794/0.006794, allocations: 1.014 MB / 291.4 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 55.91 kB / 352.2 MB, free: 6.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09218, allocations: 49.64 MB / 401.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002164/0.09438, allocations: 1.198 MB / 403 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.09715, allocations: 2.081 MB / 405.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.09719, allocations: 0 / 405.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.09723, allocations: 0 / 405.1 MB, free: 1.727 MB / 334.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 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001155/0.09839, allocations: 490.3 kB / 405.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.376e-06/0.0984, allocations: 0 / 405.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.38e-05/0.09845, allocations: 11.92 kB / 405.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.09849, allocations: 8 kB / 405.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.09851, allocations: 3.938 kB / 405.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.09876, allocations: 19.92 kB / 405.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.09878, allocations: 0 / 405.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006634/0.09945, allocations: 0.5073 MB / 406.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-06/0.09947, allocations: 7.922 kB / 406.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.09949, allocations: 11.94 kB / 406.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.09996, allocations: 371.4 kB / 406.5 MB, free: 324 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09997, allocations: 0 / 406.5 MB, free: 324 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09998, allocations: 0 / 406.5 MB, free: 324 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.09999, allocations: 4 kB / 406.5 MB, free: 320 kB / 334.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.0004387/0.1004, allocations: 419.7 kB / 406.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1005, allocations: 8.031 kB / 407 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.1005, allocations: 114 kB / 407.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.1006, allocations: 80.12 kB / 407.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.1008, allocations: 247.6 kB / 407.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.1008, allocations: 150.9 kB / 407.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.1009, allocations: 162.5 kB / 407.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.416e-05/0.1009, allocations: 101 kB / 407.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.101, allocations: 75.28 kB / 407.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.101, allocations: 150.6 kB / 408 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.1011, allocations: 150.6 kB / 408.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.181e-05/0.1012, allocations: 162.5 kB / 408.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.1014, allocations: 449.9 kB / 408.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.349e-05/0.1015, allocations: 177 kB / 408.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.1016, allocations: 80.14 kB / 409 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1016, allocations: 75.28 kB / 409.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.1016, allocations: 113.8 kB / 409.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1016, allocations: 0 / 409.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.077e-05/0.1017, allocations: 33.69 kB / 409.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.1018, allocations: 130.7 kB / 409.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1019, allocations: 105.9 kB / 409.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.1019, allocations: 25.7 kB / 409.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.1019, allocations: 84.12 kB / 409.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.102, allocations: 4 kB / 409.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.102, allocations: 9.719 kB / 409.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1021, allocations: 318.8 kB / 409.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.1021, allocations: 0 / 409.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-06/0.1021, allocations: 4 kB / 409.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.1022, allocations: 75.28 kB / 410 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.019e-05/0.1022, allocations: 75.28 kB / 410 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.059e-05/0.1023, allocations: 37.58 kB / 410.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.1023, allocations: 85.47 kB / 410.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.1023, allocations: 75.28 kB / 410.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.145e-05/0.1024, allocations: 158.5 kB / 410.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.259e-05/0.1024, allocations: 79.28 kB / 410.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-05/0.1025, allocations: 150.6 kB / 410.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.1025, allocations: 79.22 kB / 410.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.1026, allocations: 83.28 kB / 410.8 MB, free: 11.83 MB / 350.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 0.0001165/0.1027, allocations: 264.3 kB / 411 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.1028, allocations: 108.8 kB / 411.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.1028, allocations: 108.1 kB / 411.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.377e-05/0.1029, allocations: 180.3 kB / 411.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.659e-05/0.103, allocations: 192.2 kB / 411.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.137e-05/0.103, allocations: 176.3 kB / 411.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1033, allocations: 409.1 kB / 412.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/0.1033, allocations: 101 kB / 412.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.1033, allocations: 112.9 kB / 412.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.053e-05/0.1034, allocations: 180.3 kB / 412.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.1035, allocations: 180.3 kB / 412.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.743e-05/0.1035, allocations: 180.2 kB / 412.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.898e-05/0.1036, allocations: 176.3 kB / 413.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1037, allocations: 312.1 kB / 413.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.1038, allocations: 186.1 kB / 413.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.1039, allocations: 180.2 kB / 413.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.104, allocations: 105 kB / 413.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.104, allocations: 192.1 kB / 414 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.1041, allocations: 105.2 kB / 414.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.82e-05/0.1041, allocations: 83.28 kB / 414.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1041, allocations: 4 kB / 414.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.1046, allocations: 143.9 kB / 414.4 MB, free: 8.004 MB / 350.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.001341/0.1059, allocations: 1.216 MB / 415.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.373e-05/0.106, allocations: 0 / 415.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.106, allocations: 0 / 415.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.106, allocations: 0 / 415.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1064, allocations: 471.6 kB / 416 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1076, allocations: 1.658 MB / 417.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1078, allocations: 0.6727 MB / 418.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.015e-05/0.1079, allocations: 4 kB / 418.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1079, allocations: 15.42 kB / 418.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1079, allocations: 0 / 418.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/0.2721, allocations: 4.153 MB / 422.5 MB, free: 53.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.361/5.633, allocations: 3.875 kB / 422.6 MB, free: 53.45 MB / 350.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadReal_m_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)