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.002184/0.002184, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002296/0.002296, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 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.777/1.777, allocations: 177.1 MB / 203.1 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.008956/0.008956, allocations: 0.797 MB / 260.4 MB, free: 12.32 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.733e-06/1.733e-06, allocations: 0 / 329.8 MB, free: 19.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.803e-05, allocations: 10.25 kB / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001825/0.001853, allocations: 1.214 MB / 331 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.004409, allocations: 2.193 MB / 333.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.00443, allocations: 0 / 333.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.004448, allocations: 0 / 333.2 MB, free: 15.84 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.001379/0.005828, allocations: 478.2 kB / 333.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.005832, allocations: 4 kB / 333.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.169e-05/0.005873, allocations: 7.938 kB / 333.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.005916, allocations: 7.984 kB / 333.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.005949, allocations: 3.938 kB / 333.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.006196, allocations: 4 kB / 333.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.006205, allocations: 0 / 333.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000634/0.006839, allocations: 0.4915 MB / 334.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.006847, allocations: 7.922 kB / 334.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.379e-05/0.006861, allocations: 0 / 334.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.007476, allocations: 466.8 kB / 334.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.007482, allocations: 0 / 334.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.007483, allocations: 4 kB / 334.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.007489, allocations: 0 / 334.7 MB, free: 14.39 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.0005088/0.007998, allocations: 451.3 kB / 335.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/0.008062, allocations: 12.03 kB / 335.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.008134, allocations: 124.1 kB / 335.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.008274, allocations: 243.7 kB / 335.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.008327, allocations: 238.8 kB / 335.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.008373, allocations: 238.8 kB / 336 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.308e-05/0.008446, allocations: 149.5 kB / 336.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.008476, allocations: 123.1 kB / 336.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.008539, allocations: 242.4 kB / 336.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.77e-05/0.008607, allocations: 238.4 kB / 336.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.008676, allocations: 246.3 kB / 336.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.00895, allocations: 0.5681 MB / 337.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.009061, allocations: 265.4 kB / 337.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.009107, allocations: 130.9 kB / 337.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.009143, allocations: 119.2 kB / 338 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.00919, allocations: 152.6 kB / 338.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.009191, allocations: 4 kB / 338.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.049e-05/0.009271, allocations: 33.58 kB / 338.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.009324, allocations: 170.6 kB / 338.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.009428, allocations: 170.1 kB / 338.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.009436, allocations: 25.7 kB / 338.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.009467, allocations: 126.9 kB / 338.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.009469, allocations: 0 / 338.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.00949, allocations: 19.38 kB / 338.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.009571, allocations: 492.1 kB / 339.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-06/0.009577, allocations: 0 / 339.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.00958, allocations: 0 / 339.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.009602, allocations: 127.2 kB / 339.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/0.009622, allocations: 119.2 kB / 339.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.252e-05/0.009675, allocations: 41.62 kB / 339.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.009707, allocations: 123.2 kB / 339.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.00973, allocations: 123.2 kB / 339.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.499e-05/0.009785, allocations: 250.3 kB / 339.9 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-05/0.009804, allocations: 123.2 kB / 340.1 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.444e-05/0.009849, allocations: 250.4 kB / 340.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.009915, allocations: 123.1 kB / 340.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.009933, allocations: 123.2 kB / 340.5 MB, free: 8.297 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.271e-05/0.01002, allocations: 398.9 kB / 340.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.01006, allocations: 152.8 kB / 341.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.01009, allocations: 156 kB / 341.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.371e-05/0.01014, allocations: 268 kB / 341.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.223e-05/0.01018, allocations: 268 kB / 341.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.635e-05/0.01023, allocations: 276.1 kB / 342 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.01038, allocations: 491.8 kB / 342.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/0.01042, allocations: 148.9 kB / 342.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.01044, allocations: 148.9 kB / 342.8 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-05/0.01049, allocations: 272 kB / 343.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.01053, allocations: 268.1 kB / 343.3 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.601e-05/0.01058, allocations: 268 kB / 343.6 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.115e-05/0.01062, allocations: 268 kB / 343.9 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.574e-05/0.01072, allocations: 456 kB / 344.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.01074, allocations: 144.9 kB / 344.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.01079, allocations: 272 kB / 344.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.01086, allocations: 144.9 kB / 344.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.0109, allocations: 276.3 kB / 345.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.01092, allocations: 152.9 kB / 345.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.177e-05/0.01095, allocations: 127.2 kB / 345.4 MB, free: 3.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01095, allocations: 0 / 345.4 MB, free: 3.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004989/0.01145, allocations: 151.5 kB / 345.5 MB, free: 3.102 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.001336/0.01279, allocations: 0.6475 MB / 346.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.603e-05/0.01284, allocations: 0 / 346.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01284, allocations: 0 / 346.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.01284, allocations: 3.938 kB / 346.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.01313, allocations: 0.7023 MB / 346.9 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.01337, allocations: 223.3 kB / 347.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.0134, allocations: 59.36 kB / 347.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.005e-06/0.01341, allocations: 3.984 kB / 347.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.01343, allocations: 12.5 kB / 347.2 MB, free: 1.465 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01343, allocations: 0 / 347.2 MB, free: 1.465 MB / 266.7 MB Notification: Performance of Templates: time 0.007379/0.02081, allocations: 3.241 MB / 350.4 MB, free: 14.22 MB / 282.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: 5.1853863960132]