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.001436/0.001436, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.004418/0.004418, allocations: 185 kB / 24.09 MB, free: 416 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.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.004056/0.004056, allocations: 0.7949 MB / 261.9 MB, free: 12.11 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.894e-06/1.894e-06, allocations: 0 / 331.8 MB, free: 3.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.711e-05, allocations: 2.312 kB / 331.8 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001718/0.001745, allocations: 1.245 MB / 333 MB, free: 2.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.004135, allocations: 2.189 MB / 335.2 MB, free: 256 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.004159, allocations: 0 / 335.2 MB, free: 256 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.00418, allocations: 0 / 335.2 MB, free: 256 kB / 298.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.001086/0.005266, allocations: 490.1 kB / 335.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.795e-06/0.005269, allocations: 0 / 335.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.757e-05/0.005306, allocations: 7.938 kB / 335.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.005342, allocations: 0 / 335.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.005373, allocations: 7.984 kB / 335.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.00542, allocations: 4 kB / 335.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.136e-06/0.005428, allocations: 0 / 335.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006202/0.006048, allocations: 0.4953 MB / 336.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.006056, allocations: 3.984 kB / 336.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.114e-05/0.006067, allocations: 0 / 336.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.00652, allocations: 478.7 kB / 336.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006523, allocations: 0 / 336.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006524, allocations: 0 / 336.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.006529, allocations: 0 / 336.7 MB, free: 14.78 MB / 314.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.0003286/0.006857, allocations: 455.6 kB / 337.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.006901, allocations: 8.031 kB / 337.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.006945, allocations: 120.1 kB / 337.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.00705, allocations: 227.8 kB / 337.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.007115, allocations: 250.7 kB / 337.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.007173, allocations: 238.8 kB / 338 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.026e-05/0.007243, allocations: 145.5 kB / 338.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.007276, allocations: 127.1 kB / 338.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.007332, allocations: 238.4 kB / 338.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-05/0.007389, allocations: 242.4 kB / 338.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.007745, allocations: 238.4 kB / 338.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.007962, allocations: 0.5531 MB / 339.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.813e-05/0.00804, allocations: 265.4 kB / 339.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.008071, allocations: 134.8 kB / 339.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.0081, allocations: 127.2 kB / 340 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.008142, allocations: 160.6 kB / 340.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.008143, allocations: 0 / 340.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.364e-05/0.008197, allocations: 29.66 kB / 340.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.008249, allocations: 178.5 kB / 340.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.008333, allocations: 157.9 kB / 340.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.00834, allocations: 25.7 kB / 340.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.008377, allocations: 134.9 kB / 340.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.41e-07/0.008378, allocations: 0 / 340.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.008395, allocations: 19.38 kB / 340.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.008504, allocations: 0.4883 MB / 341.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-06/0.008507, allocations: 4 kB / 341.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-06/0.008511, allocations: 0 / 341.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.008538, allocations: 119.2 kB / 341.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-05/0.008564, allocations: 123.2 kB / 341.4 MB, free: 9.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.587e-05/0.0086, allocations: 25.7 kB / 341.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.008634, allocations: 127.2 kB / 341.6 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.008663, allocations: 123.1 kB / 341.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.248e-05/0.008725, allocations: 242.5 kB / 341.9 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.136e-05/0.008757, allocations: 131.2 kB / 342.1 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.278e-05/0.008809, allocations: 246.3 kB / 342.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.008859, allocations: 123.2 kB / 342.4 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.008887, allocations: 127.1 kB / 342.5 MB, free: 8.719 MB / 314.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 0.0001104/0.008998, allocations: 395 kB / 342.9 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.009044, allocations: 144.9 kB / 343.1 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.009095, allocations: 159.8 kB / 343.2 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/0.009152, allocations: 268 kB / 343.5 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.986e-05/0.009211, allocations: 268 kB / 343.8 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/0.009272, allocations: 272 kB / 344 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.009432, allocations: 484.5 kB / 344.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.364e-05/0.009465, allocations: 148.9 kB / 344.6 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.009499, allocations: 148.8 kB / 344.8 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.294e-05/0.009562, allocations: 268.1 kB / 345 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.009628, allocations: 272 kB / 345.3 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.287e-05/0.00969, allocations: 272 kB / 345.6 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.057e-05/0.009751, allocations: 268 kB / 345.8 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.01019, allocations: 448 kB / 346.3 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.01023, allocations: 148.8 kB / 346.4 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.0103, allocations: 272.1 kB / 346.7 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.01036, allocations: 149.1 kB / 346.8 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.01042, allocations: 268.1 kB / 347.1 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.01046, allocations: 148.9 kB / 347.2 MB, free: 3.832 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.01051, allocations: 135.1 kB / 347.4 MB, free: 3.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01051, allocations: 0 / 347.4 MB, free: 3.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.01092, allocations: 151.5 kB / 347.5 MB, free: 3.551 MB / 314.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.0009587/0.01188, allocations: 0.6637 MB / 348.2 MB, free: 2.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.919e-05/0.01192, allocations: 4 kB / 348.2 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01192, allocations: 0 / 348.2 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01192, allocations: 0 / 348.2 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.01223, allocations: 0.71 MB / 348.9 MB, free: 2.234 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.01246, allocations: 214.2 kB / 349.1 MB, free: 1.996 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.189e-05/0.01249, allocations: 55.34 kB / 349.2 MB, free: 1.922 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.094e-05/0.0125, allocations: 3.938 kB / 349.2 MB, free: 1.918 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.01254, allocations: 70.2 kB / 349.2 MB, free: 1.848 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01254, allocations: 0 / 349.2 MB, free: 1.848 MB / 314.7 MB Notification: Performance of Templates: time 0.005749/0.01829, allocations: 3.919 MB / 353.2 MB, free: 13.93 MB / 330.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.9266567109152675]