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-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.007228/0.007228, allocations: 102.3 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 189 kB / 16.67 MB, free: 5.969 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007154/0.007154, allocations: 1.012 MB / 291.5 MB, free: 13.76 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 59.78 kB / 402.5 MB, free: 32.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0991/0.101, allocations: 49.65 MB / 452.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002364/0.1034, allocations: 1.211 MB / 453.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.1068, allocations: 2.073 MB / 455.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.1068, allocations: 0 / 455.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.1069, allocations: 0 / 455.4 MB, free: 11.2 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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-master/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.001426/0.1083, allocations: 0.4946 MB / 455.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.1083, allocations: 0 / 455.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.495e-05/0.1083, allocations: 7.938 kB / 455.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.1084, allocations: 0 / 455.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.1084, allocations: 4 kB / 455.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.1088, allocations: 7.938 kB / 455.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1088, allocations: 11.98 kB / 455.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008942/0.1097, allocations: 0.515 MB / 456.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.1097, allocations: 4 kB / 456.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.1097, allocations: 3.938 kB / 456.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.1103, allocations: 379.4 kB / 456.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1103, allocations: 0 / 456.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.608e-06/0.1103, allocations: 3.984 kB / 456.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1103, allocations: 0 / 456.8 MB, free: 9.773 MB / 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.0005127/0.1108, allocations: 422.5 kB / 457.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1109, allocations: 12.03 kB / 457.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.352e-05/0.1109, allocations: 110 kB / 457.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.111, allocations: 84.16 kB / 457.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1112, allocations: 247.6 kB / 457.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.1113, allocations: 154.9 kB / 457.8 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.1114, allocations: 158.5 kB / 458 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.949e-05/0.1114, allocations: 109 kB / 458.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.1115, allocations: 75.28 kB / 458.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.1116, allocations: 150.6 kB / 458.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.296e-05/0.1116, allocations: 150.6 kB / 458.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.1117, allocations: 154.6 kB / 458.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.112, allocations: 449.9 kB / 459.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1121, allocations: 177.1 kB / 459.2 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.1122, allocations: 80.14 kB / 459.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.1122, allocations: 75.28 kB / 459.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.433e-05/0.1123, allocations: 117.9 kB / 459.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1123, allocations: 4 kB / 459.5 MB, free: 6.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.281e-05/0.1124, allocations: 33.59 kB / 459.5 MB, free: 6.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.1125, allocations: 126.7 kB / 459.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1126, allocations: 105.8 kB / 459.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1126, allocations: 25.7 kB / 459.8 MB, free: 6.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.1127, allocations: 88.14 kB / 459.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.1127, allocations: 0 / 459.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.1127, allocations: 9.719 kB / 459.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1129, allocations: 314.8 kB / 460.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-06/0.1129, allocations: 0 / 460.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.1129, allocations: 0 / 460.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.1129, allocations: 79.28 kB / 460.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.293e-05/0.1129, allocations: 75.28 kB / 460.3 MB, free: 6.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.002e-05/0.113, allocations: 37.56 kB / 460.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.1131, allocations: 83.28 kB / 460.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.1131, allocations: 75.28 kB / 460.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.182e-05/0.1132, allocations: 158.6 kB / 460.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.233e-05/0.1132, allocations: 79.22 kB / 460.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.489e-05/0.1133, allocations: 154.6 kB / 460.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.692e-05/0.1134, allocations: 79.22 kB / 461 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.1134, allocations: 75.28 kB / 461.1 MB, free: 5.285 MB / 334.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.0001405/0.1135, allocations: 272.9 kB / 461.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.1136, allocations: 109 kB / 461.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.1137, allocations: 108 kB / 461.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.943e-05/0.1137, allocations: 176.3 kB / 461.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.898e-05/0.1138, allocations: 188.2 kB / 461.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-05/0.1139, allocations: 180.3 kB / 462.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.1142, allocations: 413.1 kB / 462.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.429e-05/0.1142, allocations: 108.9 kB / 462.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.1143, allocations: 101 kB / 462.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.314e-05/0.1144, allocations: 180.2 kB / 462.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.1145, allocations: 180.3 kB / 463 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.14e-05/0.1146, allocations: 184.3 kB / 463.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.561e-05/0.1146, allocations: 184.2 kB / 463.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.1148, allocations: 304.1 kB / 463.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1149, allocations: 182.1 kB / 463.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-05/0.115, allocations: 192.2 kB / 464.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.1151, allocations: 101.3 kB / 464.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.1152, allocations: 180.3 kB / 464.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.1152, allocations: 108.9 kB / 464.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.848e-05/0.1153, allocations: 91.27 kB / 464.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1153, allocations: 0 / 464.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005568/0.1159, allocations: 143.5 kB / 464.7 MB, free: 1.453 MB / 334.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.001648/0.1175, allocations: 1.217 MB / 465.9 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.579e-05/0.1176, allocations: 7.938 kB / 465.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1176, allocations: 0 / 465.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.1176, allocations: 0 / 465.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.118, allocations: 455.7 kB / 466.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1195, allocations: 1.653 MB / 468 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1198, allocations: 0.6805 MB / 468.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.899e-06/0.1198, allocations: 0 / 468.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.1198, allocations: 11.44 kB / 468.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1198, allocations: 0 / 468.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.1513, allocations: 4.207 MB / 472.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.252, allocations: 11.36 kB / 472.9 MB, free: 9.23 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)