Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000728/0.000728, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008984/0.001626, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006668/0.0006668, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009052/0.001572, allocations: 483.5 kB / 11.83 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9655/0.9655, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.067, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.003473/0.003473, allocations: 0.788 MB / 245 MB, free: 13.98 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.004968, allocations: 0.6393 MB / 245.6 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 246.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.456e-06/9.629e-06, allocations: 6.312 kB / 246.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.00136/0.00137, allocations: 1.294 MB / 248.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.003499, allocations: 2.264 MB / 250.4 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.003514, allocations: 0 / 250.4 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.889e-06/0.003519, allocations: 0 / 250.4 MB, free: 8.48 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.12.1/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.0007622/0.004281, allocations: 428.8 kB / 250.9 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.004284, allocations: 0 / 250.9 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 2.939e-05/0.004313, allocations: 7.938 kB / 250.9 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.004345, allocations: 7.922 kB / 250.9 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.004385, allocations: 12 kB / 250.9 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.147e-05/0.004416, allocations: 4 kB / 250.9 MB, free: 8.031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.004424, allocations: 0 / 250.9 MB, free: 8.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006146/0.005039, allocations: 0.5577 MB / 251.4 MB, free: 7.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.005048, allocations: 3.938 kB / 251.4 MB, free: 7.469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.778e-06/0.005058, allocations: 8 kB / 251.5 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.005452, allocations: 395 kB / 251.8 MB, free: 7.074 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.00546, allocations: 7.938 kB / 251.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005461, allocations: 0 / 251.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.005469, allocations: 0 / 251.8 MB, free: 7.066 MB / 250.7 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.0002956/0.005765, allocations: 359.6 kB / 252.2 MB, free: 6.691 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.005792, allocations: 12.03 kB / 252.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.005825, allocations: 76.22 kB / 252.3 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.005909, allocations: 197 kB / 252.5 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.005943, allocations: 154.9 kB / 252.6 MB, free: 6.234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.005976, allocations: 150.9 kB / 252.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.064e-05/0.006017, allocations: 105.5 kB / 252.9 MB, free: 5.977 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.006036, allocations: 79.22 kB / 253 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.006065, allocations: 150.6 kB / 253.1 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.006095, allocations: 150.6 kB / 253.3 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.00613, allocations: 162.5 kB / 253.4 MB, free: 5.441 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.006257, allocations: 349.3 kB / 253.8 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.006313, allocations: 173.1 kB / 253.9 MB, free: 4.906 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.006332, allocations: 88.12 kB / 254 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.006605, allocations: 75.28 kB / 254.1 MB, free: 4.742 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.006635, allocations: 109.8 kB / 254.2 MB, free: 4.625 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.32e-07/0.006636, allocations: 7.938 kB / 254.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.332e-05/0.006679, allocations: 25.7 kB / 254.2 MB, free: 4.586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.006716, allocations: 130.6 kB / 254.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.322e-05/0.00678, allocations: 106.7 kB / 254.5 MB, free: 4.328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.006786, allocations: 29.7 kB / 254.5 MB, free: 4.293 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/0.006803, allocations: 80.14 kB / 254.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.22e-07/0.006804, allocations: 0 / 254.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.006817, allocations: 9.719 kB / 254.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.006879, allocations: 318.8 kB / 254.9 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-06/0.006881, allocations: 0 / 254.9 MB, free: 3.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-06/0.006884, allocations: 0 / 254.9 MB, free: 3.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.558e-05/0.006899, allocations: 79.22 kB / 255 MB, free: 3.797 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.006914, allocations: 75.28 kB / 255 MB, free: 3.723 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.888e-05/0.006942, allocations: 29.7 kB / 255.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.006968, allocations: 83.27 kB / 255.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.006987, allocations: 79.28 kB / 255.2 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.812e-05/0.007025, allocations: 158.6 kB / 255.4 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.639e-05/0.007041, allocations: 79.3 kB / 255.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/0.007071, allocations: 162.4 kB / 255.6 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.786e-05/0.007109, allocations: 83.27 kB / 255.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.007124, allocations: 75.28 kB / 255.8 MB, free: 2.977 MB / 250.7 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 6.322e-05/0.007187, allocations: 260.4 kB / 256 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.007218, allocations: 108.9 kB / 256.1 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.007248, allocations: 104.1 kB / 256.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/0.007287, allocations: 188.2 kB / 256.4 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-05/0.007328, allocations: 184.2 kB / 256.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.007362, allocations: 176.3 kB / 256.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.007467, allocations: 321.4 kB / 257.1 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/0.007488, allocations: 105 kB / 257.2 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.007508, allocations: 108.9 kB / 257.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.007532, allocations: 105 kB / 257.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.265e-05/0.007564, allocations: 180.3 kB / 257.6 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.007599, allocations: 184.2 kB / 257.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.273e-05/0.007632, allocations: 176.3 kB / 257.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.482e-05/0.007667, allocations: 184.2 kB / 258.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.788e-05/0.007745, allocations: 311.9 kB / 258.4 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.007784, allocations: 188.2 kB / 258.6 MB, free: 0 / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.007834, allocations: 101 kB / 258.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.007872, allocations: 188.5 kB / 258.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.007894, allocations: 113 kB / 259 MB, free: 15.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.379e-05/0.007908, allocations: 4.859 kB / 259 MB, free: 15.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007908, allocations: 0 / 259 MB, free: 15.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.008206, allocations: 155.4 kB / 259.1 MB, free: 15.42 MB / 266.7 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.0008397/0.009045, allocations: 0.6741 MB / 259.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.955e-05/0.009075, allocations: 7.938 kB / 259.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.009078, allocations: 0 / 259.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.009082, allocations: 3.938 kB / 259.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.009263, allocations: 463.6 kB / 260.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.009528, allocations: 172 kB / 260.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.331e-05/0.009551, allocations: 51.36 kB / 260.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.877e-06/0.00956, allocations: 4 kB / 260.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.009586, allocations: 55.36 kB / 260.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of SimCode: time 3.4e-07/0.009586, allocations: 4 kB / 260.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Templates: time 0.004726/0.01431, allocations: 3.878 MB / 264.4 MB, free: 10.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealParameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5491770254448056]