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: 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.001052/0.001057, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.00113/0.00113, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006304/0.006304, allocations: 1.001 MB / 292.2 MB, free: 13.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 403.6 MB, free: 31.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 49.65 MB / 453.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002957/0.1073, allocations: 1.211 MB / 454.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.1109, allocations: 2.066 MB / 456.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.1109, allocations: 0 / 456.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.111, allocations: 0 / 456.6 MB, free: 10.73 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.001646/0.1126, allocations: 497.2 kB / 457 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.057e-06/0.1127, allocations: 8 kB / 457.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.1127, allocations: 7.938 kB / 457.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.1128, allocations: 4 kB / 457.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.1128, allocations: 4 kB / 457.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1131, allocations: 11.92 kB / 457.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1131, allocations: 0 / 457.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009749/0.1141, allocations: 0.5228 MB / 457.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.1141, allocations: 4 kB / 457.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.1141, allocations: 3.938 kB / 457.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008127/0.1149, allocations: 375.4 kB / 458 MB, free: 9.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.115, allocations: 4 kB / 458 MB, free: 9.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.115, allocations: 0 / 458 MB, free: 9.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.115, allocations: 0 / 458 MB, free: 9.305 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.0006013/0.1156, allocations: 423.3 kB / 458.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1156, allocations: 12.02 kB / 458.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.1157, allocations: 76.22 kB / 458.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.1159, allocations: 243.6 kB / 458.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.116, allocations: 158.9 kB / 458.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.1161, allocations: 158.6 kB / 459 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.675e-05/0.1161, allocations: 108.9 kB / 459.1 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.1162, allocations: 75.28 kB / 459.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.1163, allocations: 150.6 kB / 459.4 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/0.1163, allocations: 154.5 kB / 459.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.537e-05/0.1164, allocations: 154.6 kB / 459.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1167, allocations: 446 kB / 460.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/0.1168, allocations: 169.1 kB / 460.3 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.1169, allocations: 84.08 kB / 460.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.1169, allocations: 79.28 kB / 460.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.117, allocations: 113.9 kB / 460.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.117, allocations: 0 / 460.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.378e-05/0.1171, allocations: 33.7 kB / 460.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.1172, allocations: 126.7 kB / 460.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1173, allocations: 105.8 kB / 460.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1173, allocations: 29.64 kB / 460.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.1174, allocations: 84.14 kB / 460.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.1174, allocations: 0 / 460.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.1174, allocations: 13.72 kB / 460.9 MB, free: 6.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1175, allocations: 314.8 kB / 461.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.1176, allocations: 0 / 461.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-06/0.1176, allocations: 0 / 461.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.1176, allocations: 75.28 kB / 461.3 MB, free: 5.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-05/0.1176, allocations: 79.22 kB / 461.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.405e-05/0.1177, allocations: 41.62 kB / 461.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.1178, allocations: 83.27 kB / 461.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/0.1178, allocations: 83.22 kB / 461.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.329e-05/0.1179, allocations: 150.6 kB / 461.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.697e-05/0.1179, allocations: 75.28 kB / 461.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.629e-05/0.118, allocations: 154.5 kB / 461.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.1181, allocations: 87.28 kB / 462 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.1181, allocations: 79.22 kB / 462.1 MB, free: 4.934 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.0001217/0.1182, allocations: 257.1 kB / 462.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.1183, allocations: 112.9 kB / 462.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.1184, allocations: 108 kB / 462.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.195e-05/0.1184, allocations: 180.5 kB / 462.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.216e-05/0.1185, allocations: 184.3 kB / 462.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-05/0.1186, allocations: 192.2 kB / 463.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.1188, allocations: 397.2 kB / 463.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.815e-05/0.1189, allocations: 120.9 kB / 463.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.119, allocations: 101 kB / 463.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-05/0.119, allocations: 180.3 kB / 463.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.1191, allocations: 180.2 kB / 464.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.543e-05/0.1192, allocations: 180.3 kB / 464.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.106e-05/0.1193, allocations: 180.2 kB / 464.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1194, allocations: 316 kB / 464.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.1195, allocations: 182 kB / 464.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.1196, allocations: 176.3 kB / 465.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1197, allocations: 113 kB / 465.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.1198, allocations: 184.3 kB / 465.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.1199, allocations: 101 kB / 465.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.1199, allocations: 83.28 kB / 465.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.1199, allocations: 4 kB / 465.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000607/0.1205, allocations: 143.9 kB / 465.7 MB, free: 1.113 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.001322/0.1219, allocations: 0.5706 MB / 466.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.352e-05/0.1219, allocations: 4 kB / 466.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.122, allocations: 0 / 466.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.122, allocations: 0 / 466.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1224, allocations: 463 kB / 466.7 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.1227, allocations: 203 kB / 466.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.123, allocations: 0.6727 MB / 467.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1231, allocations: 15.42 kB / 467.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1231, allocations: 0 / 467.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Templates: time 0.006733/0.1298, allocations: 3.339 MB / 471 MB, free: 11.87 MB / 350.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)