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.006241/0.006241, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001465/0.001465, allocations: 189.6 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006061/0.006061, allocations: 1 MB / 291.5 MB, free: 1.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.08 kB / 403 MB, free: 9.117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09831, allocations: 49.64 MB / 452.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001982/0.1003, allocations: 1.212 MB / 453.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.1033, allocations: 2.075 MB / 455.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.1033, allocations: 0 / 455.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.1034, allocations: 0 / 455.9 MB, free: 1.191 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.001158/0.1045, allocations: 494.5 kB / 456.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.1045, allocations: 0 / 456.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.1046, allocations: 11.92 kB / 456.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.1047, allocations: 7.984 kB / 456.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.1047, allocations: 7.938 kB / 456.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008008/0.1127, allocations: 4 kB / 456.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1127, allocations: 0 / 456.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.1139, allocations: 0.515 MB / 456.9 MB, free: 164 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.1139, allocations: 3.984 kB / 456.9 MB, free: 160 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1139, allocations: 11.94 kB / 456.9 MB, free: 148 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.1145, allocations: 379.3 kB / 457.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1145, allocations: 0 / 457.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1145, allocations: 4 kB / 457.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1145, allocations: 0 / 457.3 MB, free: 15.77 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.0004193/0.1149, allocations: 407.5 kB / 457.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.115, allocations: 8.031 kB / 457.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.115, allocations: 88.06 kB / 457.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1152, allocations: 247.7 kB / 458 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.1153, allocations: 154.9 kB / 458.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.1153, allocations: 158.6 kB / 458.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.001e-05/0.1154, allocations: 101 kB / 458.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.1154, allocations: 75.28 kB / 458.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.1155, allocations: 150.6 kB / 458.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.1155, allocations: 154.6 kB / 458.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.1156, allocations: 150.6 kB / 459 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.1158, allocations: 449.9 kB / 459.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.1159, allocations: 177.1 kB / 459.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.1159, allocations: 92.08 kB / 459.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.116, allocations: 75.28 kB / 459.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.116, allocations: 105.8 kB / 459.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.116, allocations: 0 / 459.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.189e-05/0.1161, allocations: 29.64 kB / 459.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.1162, allocations: 126.7 kB / 460 MB, free: 12.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1163, allocations: 105.8 kB / 460.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1163, allocations: 33.7 kB / 460.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1163, allocations: 84.14 kB / 460.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1163, allocations: 0 / 460.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.1164, allocations: 9.719 kB / 460.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1165, allocations: 314.8 kB / 460.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.1165, allocations: 3.938 kB / 460.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.1165, allocations: 8.047 kB / 460.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.1165, allocations: 75.28 kB / 460.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-05/0.1166, allocations: 79.28 kB / 460.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.414e-05/0.1166, allocations: 29.89 kB / 460.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.1167, allocations: 83.28 kB / 460.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.1167, allocations: 79.22 kB / 460.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.399e-05/0.1168, allocations: 154.6 kB / 461 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.69e-05/0.1168, allocations: 87.22 kB / 461.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.686e-05/0.1168, allocations: 158.5 kB / 461.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.1169, allocations: 75.28 kB / 461.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.117, allocations: 79.22 kB / 461.4 MB, free: 11.41 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 9.59e-05/0.1171, allocations: 260.4 kB / 461.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1171, allocations: 108.8 kB / 461.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.1172, allocations: 112 kB / 461.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.794e-05/0.1172, allocations: 188.2 kB / 462.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-05/0.1173, allocations: 180.2 kB / 462.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/0.1174, allocations: 176.3 kB / 462.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1176, allocations: 409.2 kB / 462.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/0.1176, allocations: 108.9 kB / 462.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.1177, allocations: 105 kB / 463 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.433e-05/0.1177, allocations: 180.2 kB / 463.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.1178, allocations: 188.2 kB / 463.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.407e-05/0.1178, allocations: 176.3 kB / 463.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.805e-05/0.1179, allocations: 184.2 kB / 463.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.118, allocations: 307.7 kB / 464 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.1181, allocations: 186.1 kB / 464.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.1182, allocations: 180.3 kB / 464.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.1182, allocations: 105.4 kB / 464.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.1183, allocations: 176.3 kB / 464.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.1184, allocations: 112.9 kB / 464.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.1184, allocations: 87.27 kB / 464.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1184, allocations: 0 / 464.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004824/0.1189, allocations: 143.9 kB / 465 MB, free: 7.59 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.001092/0.12, allocations: 0.5858 MB / 465.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.964e-05/0.1201, allocations: 0 / 465.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1201, allocations: 0 / 465.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1201, allocations: 0 / 465.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1204, allocations: 467.6 kB / 466.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.1207, allocations: 161.4 kB / 466.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1209, allocations: 0.6805 MB / 466.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.04e-05/0.1209, allocations: 3.984 kB / 466.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.1209, allocations: 11.44 kB / 466.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1209, allocations: 0 / 466.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of Templates: time 0.006207/0.1272, allocations: 3.054 MB / 470 MB, free: 2.648 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)