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.001595/0.001595, allocations: 79.73 kB / 20.75 MB, free: 3.742 MB / 18.57 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.002007/0.002007, allocations: 169.3 kB / 24.17 MB, free: 332 kB / 18.57 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 1.048/1.048, allocations: 177.1 MB / 204.6 MB, free: 4.738 MB / 186.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.004591/0.004591, allocations: 0.7872 MB / 261.9 MB, free: 11.85 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. " [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.162e-06/1.162e-06, allocations: 0 / 278.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.514e-05, allocations: 2.312 kB / 278.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001811/0.001836, allocations: 1.254 MB / 279.8 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.004332, allocations: 2.228 MB / 282 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.004354, allocations: 0 / 282 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.004375, allocations: 0 / 282 MB, free: 7.668 MB / 266.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.001181/0.005556, allocations: 486.1 kB / 282.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.005559, allocations: 0 / 282.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.967e-05/0.005599, allocations: 7.938 kB / 282.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.005635, allocations: 4 kB / 282.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.243e-05/0.005668, allocations: 7.984 kB / 282.5 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.005728, allocations: 4 kB / 282.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.005735, allocations: 0 / 282.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006936/0.006429, allocations: 0.4992 MB / 283 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-06/0.006436, allocations: 0 / 283 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.176e-05/0.006448, allocations: 0 / 283 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.006977, allocations: 470.8 kB / 283.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.006981, allocations: 4 kB / 283.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.006983, allocations: 0 / 283.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.006986, allocations: 0 / 283.5 MB, free: 6.203 MB / 266.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.0005066/0.007493, allocations: 324 kB / 283.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.007527, allocations: 8.031 kB / 283.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.007564, allocations: 84.2 kB / 283.9 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.376e-05/0.007658, allocations: 185.1 kB / 284.1 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.007694, allocations: 150.9 kB / 284.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.007731, allocations: 154.9 kB / 284.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.097e-05/0.007782, allocations: 105.5 kB / 284.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.007803, allocations: 79.22 kB / 284.6 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.00784, allocations: 158.6 kB / 284.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.007878, allocations: 158.5 kB / 284.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.308e-05/0.007911, allocations: 150.6 kB / 285 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.008055, allocations: 353.3 kB / 285.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.465e-05/0.008119, allocations: 177.1 kB / 285.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.008142, allocations: 80.14 kB / 285.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.00816, allocations: 75.28 kB / 285.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.008198, allocations: 109.8 kB / 285.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.008199, allocations: 0 / 285.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.771e-05/0.008247, allocations: 25.7 kB / 285.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.008296, allocations: 134.6 kB / 285.9 MB, free: 3.625 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.278e-05/0.008369, allocations: 114.7 kB / 286.1 MB, free: 3.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.008376, allocations: 25.7 kB / 286.1 MB, free: 3.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.008406, allocations: 80.14 kB / 286.2 MB, free: 3.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-07/0.008407, allocations: 3.938 kB / 286.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.008424, allocations: 17.72 kB / 286.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.008504, allocations: 310.8 kB / 286.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-06/0.008507, allocations: 0 / 286.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.008511, allocations: 0 / 286.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.969e-05/0.008531, allocations: 75.28 kB / 286.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.008548, allocations: 79.28 kB / 286.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.15e-05/0.008589, allocations: 29.69 kB / 286.7 MB, free: 2.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.008619, allocations: 85.47 kB / 286.7 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.00864, allocations: 79.22 kB / 286.8 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/0.00868, allocations: 150.6 kB / 287 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.033e-05/0.008701, allocations: 79.28 kB / 287.1 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.593e-05/0.008737, allocations: 166.4 kB / 287.2 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.008784, allocations: 79.28 kB / 287.3 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.008801, allocations: 79.22 kB / 287.4 MB, free: 2.152 MB / 266.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 8.965e-05/0.008891, allocations: 264.4 kB / 287.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.008929, allocations: 101 kB / 287.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.008967, allocations: 116.1 kB / 287.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.036e-05/0.009007, allocations: 176.3 kB / 288 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.245e-05/0.009049, allocations: 180.2 kB / 288.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-05/0.009093, allocations: 188.2 kB / 288.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.009229, allocations: 321.7 kB / 288.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/0.009257, allocations: 108.9 kB / 288.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.009283, allocations: 108.9 kB / 288.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.84e-05/0.009321, allocations: 184.2 kB / 289.1 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.009362, allocations: 180.2 kB / 289.3 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1025/0.1119, allocations: 176.3 kB / 289.4 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.382e-05/0.1119, allocations: 178.3 kB / 289.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.49e-05/0.112, allocations: 308.7 kB / 289.9 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.112, allocations: 103.4 kB / 290 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.112, allocations: 182.8 kB / 290.2 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.112, allocations: 107.6 kB / 290.3 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.1121, allocations: 182.5 kB / 290.5 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1121, allocations: 104 kB / 290.6 MB, free: 23.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.308e-05/0.1121, allocations: 13.89 kB / 290.6 MB, free: 23.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1121, allocations: 0.5312 kB / 290.6 MB, free: 23.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.1125, allocations: 150.8 kB / 290.7 MB, free: 23.71 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.0009796/0.1134, allocations: 0.644 MB / 291.4 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.3e-05/0.1135, allocations: 3.031 kB / 291.4 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1135, allocations: 2.125 kB / 291.4 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.1135, allocations: 2.906 kB / 291.4 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.1136, allocations: 460.5 kB / 291.8 MB, free: 23.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001755/0.1138, allocations: 169.9 kB / 292 MB, free: 22.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.026e-05/0.1138, allocations: 53.95 kB / 292 MB, free: 22.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.528e-06/0.1138, allocations: 3.438 kB / 292.1 MB, free: 22.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.1138, allocations: 50.83 kB / 292.1 MB, free: 22.82 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1138, allocations: 1.375 kB / 292.1 MB, free: 22.82 MB / 266.7 MB Notification: Performance of Templates: time 0.005994/0.1198, allocations: 3.909 MB / 296 MB, free: 22.45 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.7625367660075426]