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.0008758/0.0008758, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.00218, allocations: 449.7 kB / 10.37 MB, free: 328 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.001031/0.001031, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.002224, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9293/0.9293, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08342/1.013, allocations: 53.65 MB / 243.3 MB, free: 15.61 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.003576/0.003576, allocations: 0.7943 MB / 244.8 MB, free: 14.09 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.001227/0.004804, allocations: 0.6352 MB / 245.4 MB, free: 13.46 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 9.92e-07/9.92e-07, allocations: 0 / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.219e-05, allocations: 2.312 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001379/0.001392, allocations: 1.29 MB / 248 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.003576, allocations: 2.244 MB / 250.2 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.00359, allocations: 3.938 kB / 250.2 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.212e-06/0.003596, allocations: 0 / 250.2 MB, free: 8.645 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.0008668/0.004463, allocations: 426.2 kB / 250.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.137e-06/0.004467, allocations: 8 kB / 250.6 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 2.984e-05/0.004497, allocations: 7.938 kB / 250.6 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.004527, allocations: 4 kB / 250.6 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.004566, allocations: 11.92 kB / 250.7 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.004605, allocations: 4 kB / 250.7 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.004612, allocations: 0 / 250.7 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006624/0.005274, allocations: 0.5461 MB / 251.2 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-06/0.005279, allocations: 3.938 kB / 251.2 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.988e-06/0.005289, allocations: 4 kB / 251.2 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.005702, allocations: 403.1 kB / 251.6 MB, free: 7.242 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.005714, allocations: 0 / 251.6 MB, free: 7.242 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005715, allocations: 0 / 251.6 MB, free: 7.242 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.005725, allocations: 0 / 251.6 MB, free: 7.242 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.0005618/0.006286, allocations: 371.5 kB / 252 MB, free: 6.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.478e-05/0.006311, allocations: 12.03 kB / 252 MB, free: 6.844 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.006342, allocations: 76.22 kB / 252.1 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.719e-05/0.006429, allocations: 185.1 kB / 252.2 MB, free: 6.562 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.006458, allocations: 150.9 kB / 252.4 MB, free: 6.414 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.006486, allocations: 150.9 kB / 252.5 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.784e-05/0.006524, allocations: 109.5 kB / 252.6 MB, free: 6.152 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.00654, allocations: 83.22 kB / 252.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.00657, allocations: 150.6 kB / 252.9 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.0066, allocations: 150.6 kB / 253 MB, free: 5.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.006631, allocations: 158.5 kB / 253.2 MB, free: 5.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.006753, allocations: 353.3 kB / 253.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.618e-05/0.006809, allocations: 177.1 kB / 253.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.006827, allocations: 80.14 kB / 253.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.006843, allocations: 75.28 kB / 253.8 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.006869, allocations: 109.8 kB / 253.9 MB, free: 4.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.00687, allocations: 0 / 253.9 MB, free: 4.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 3.966e-05/0.00691, allocations: 29.7 kB / 254 MB, free: 4.766 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.006947, allocations: 130.6 kB / 254.1 MB, free: 4.625 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.007009, allocations: 110.7 kB / 254.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.007016, allocations: 25.7 kB / 254.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.679e-05/0.007032, allocations: 80.14 kB / 254.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-07/0.007033, allocations: 3.938 kB / 254.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.007046, allocations: 9.719 kB / 254.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.00711, allocations: 314.8 kB / 254.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-06/0.007112, allocations: 0 / 254.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-06/0.007114, allocations: 0 / 254.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.694e-05/0.007131, allocations: 79.28 kB / 254.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/0.007147, allocations: 79.28 kB / 254.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.268e-05/0.00718, allocations: 37.69 kB / 254.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.007201, allocations: 79.28 kB / 254.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.007223, allocations: 87.16 kB / 255 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/0.007256, allocations: 150.6 kB / 255.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.992e-05/0.007276, allocations: 79.39 kB / 255.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-05/0.007311, allocations: 166.5 kB / 255.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.007353, allocations: 75.28 kB / 255.5 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.00737, allocations: 83.2 kB / 255.5 MB, free: 3.145 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 7.531e-05/0.007446, allocations: 260.4 kB / 255.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.00748, allocations: 105 kB / 255.9 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.007515, allocations: 116.3 kB / 256 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/0.007553, allocations: 176.3 kB / 256.2 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.984e-05/0.007593, allocations: 188.2 kB / 256.4 MB, free: 2.277 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.832e-05/0.007631, allocations: 188.2 kB / 256.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.007742, allocations: 309.5 kB / 256.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.007764, allocations: 108.9 kB / 257 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.007785, allocations: 105 kB / 257.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.007811, allocations: 109 kB / 257.2 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-05/0.007845, allocations: 184.2 kB / 257.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.007879, allocations: 176.3 kB / 257.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.619e-05/0.007915, allocations: 188.2 kB / 257.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.521e-05/0.00795, allocations: 184.2 kB / 257.9 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.241e-05/0.008033, allocations: 303.7 kB / 258.2 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.008077, allocations: 180.3 kB / 258.3 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.00812, allocations: 108.9 kB / 258.5 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.008171, allocations: 180.6 kB / 258.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.008191, allocations: 105 kB / 258.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.538e-05/0.008207, allocations: 8.859 kB / 258.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008207, allocations: 3.938 kB / 258.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.008542, allocations: 163.3 kB / 258.9 MB, free: 15.59 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.001189/0.009731, allocations: 0.6716 MB / 259.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.599e-05/0.009757, allocations: 4 kB / 259.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.009761, allocations: 0 / 259.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.009762, allocations: 4 kB / 259.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.009933, allocations: 459.7 kB / 260 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.01021, allocations: 176 kB / 260.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.301e-05/0.01023, allocations: 51.36 kB / 260.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.444e-06/0.01024, allocations: 3.938 kB / 260.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.01026, allocations: 51.38 kB / 260.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01026, allocations: 0 / 260.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004725/0.01499, allocations: 3.901 MB / 264.2 MB, free: 10.35 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.4621761925518513]