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: translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01082/0.01082, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002222/0.002222, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.00684/0.00684, allocations: 0.9928 MB / 291.5 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.36 kB / 403 MB, free: 9.141 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1048, allocations: 49.65 MB / 452.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002449/0.1073, allocations: 1.211 MB / 453.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.1105, allocations: 2.071 MB / 455.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.1105, allocations: 0 / 455.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.1105, allocations: 0 / 455.9 MB, free: 1.121 MB / 318.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.0012/0.1118, allocations: 497.8 kB / 456.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.715e-06/0.1118, allocations: 0 / 456.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.581e-05/0.1118, allocations: 15.92 kB / 456.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.1119, allocations: 8 kB / 456.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.1119, allocations: 3.938 kB / 456.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1121, allocations: 8 kB / 456.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.555e-06/0.1121, allocations: 0 / 456.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007089/0.1129, allocations: 0.5189 MB / 456.9 MB, free: 84 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-06/0.1129, allocations: 7.922 kB / 456.9 MB, free: 76 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.1129, allocations: 0 / 456.9 MB, free: 76 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.1134, allocations: 379 kB / 457.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1135, allocations: 0 / 457.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1135, allocations: 0 / 457.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1135, allocations: 0 / 457.3 MB, free: 15.7 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.0003919/0.1139, allocations: 436.3 kB / 457.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1139, allocations: 8.031 kB / 457.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.114, allocations: 84.2 kB / 457.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1141, allocations: 239.7 kB / 458.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.1142, allocations: 154.9 kB / 458.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.1142, allocations: 154.5 kB / 458.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.284e-05/0.1143, allocations: 105 kB / 458.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.1143, allocations: 79.22 kB / 458.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.1144, allocations: 150.6 kB / 458.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.1144, allocations: 150.6 kB / 458.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.1145, allocations: 154.5 kB / 459 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.1147, allocations: 450 kB / 459.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.1148, allocations: 169.1 kB / 459.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.1149, allocations: 84.08 kB / 459.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.1149, allocations: 79.28 kB / 459.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.115, allocations: 117.8 kB / 459.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.115, allocations: 0 / 459.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.977e-05/0.1151, allocations: 25.7 kB / 459.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1151, allocations: 126.7 kB / 460 MB, free: 12.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1152, allocations: 105.8 kB / 460.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.1152, allocations: 25.7 kB / 460.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.1153, allocations: 88.08 kB / 460.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-06/0.1153, allocations: 3.938 kB / 460.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.1153, allocations: 13.72 kB / 460.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1154, allocations: 314.8 kB / 460.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.1154, allocations: 3.938 kB / 460.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-06/0.1154, allocations: 4.047 kB / 460.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.1155, allocations: 79.28 kB / 460.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/0.1155, allocations: 75.28 kB / 460.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.815e-05/0.1156, allocations: 33.59 kB / 460.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.1156, allocations: 83.28 kB / 460.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.1156, allocations: 87.2 kB / 460.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-05/0.1157, allocations: 154.5 kB / 461.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.156e-05/0.1157, allocations: 75.28 kB / 461.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.234e-05/0.1158, allocations: 158.5 kB / 461.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.1159, allocations: 79.28 kB / 461.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.1159, allocations: 79.22 kB / 461.4 MB, free: 11.32 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.0001022/0.116, allocations: 264.3 kB / 461.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.1161, allocations: 109 kB / 461.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.1161, allocations: 104.1 kB / 461.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-05/0.1162, allocations: 184.2 kB / 462.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.756e-05/0.1163, allocations: 180.5 kB / 462.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.401e-05/0.1163, allocations: 184.2 kB / 462.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.1165, allocations: 413.2 kB / 462.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/0.1166, allocations: 101 kB / 462.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.1166, allocations: 108.9 kB / 463.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-05/0.1167, allocations: 176.3 kB / 463.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/0.1168, allocations: 188.2 kB / 463.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-05/0.1168, allocations: 180.3 kB / 463.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.317e-05/0.1169, allocations: 176.3 kB / 463.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.117, allocations: 311.7 kB / 464.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.1171, allocations: 182 kB / 464.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.1172, allocations: 184.3 kB / 464.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.1172, allocations: 109.4 kB / 464.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.1173, allocations: 180.2 kB / 464.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.1174, allocations: 101 kB / 464.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.972e-05/0.1174, allocations: 83.28 kB / 464.9 MB, free: 7.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.1174, allocations: 0 / 464.9 MB, free: 7.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004931/0.1179, allocations: 147.5 kB / 465 MB, free: 7.512 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.00105/0.119, allocations: 0.5812 MB / 465.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.21e-05/0.119, allocations: 11.94 kB / 465.6 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.119, allocations: 0 / 465.6 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.119, allocations: 4 kB / 465.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1194, allocations: 455.6 kB / 466.1 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.1196, allocations: 169.4 kB / 466.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1199, allocations: 0.6766 MB / 466.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.366e-06/0.1199, allocations: 4 kB / 466.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.1199, allocations: 19.36 kB / 466.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1199, allocations: 0 / 466.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of Templates: time 0.005787/0.1257, allocations: 3.058 MB / 470 MB, free: 2.555 MB / 334.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile (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 & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)