Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.0008497/0.0008497, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002862/0.003712, 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.0008806/0.0008806, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.00206, 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.9537/0.9537, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08366/1.037, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.003836/0.003836, allocations: 0.7946 MB / 244.8 MB, free: 14.07 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.001318/0.005154, allocations: 0.6349 MB / 245.4 MB, free: 13.44 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.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.933e-05, allocations: 2.312 kB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002652/0.002671, allocations: 1.293 MB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003438/0.006109, allocations: 2.307 MB / 250.3 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.006129, allocations: 0 / 250.3 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.426e-06/0.006137, allocations: 0 / 250.3 MB, free: 8.562 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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001197/0.007334, allocations: 466 kB / 250.7 MB, free: 8.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.095e-06/0.007337, allocations: 0 / 250.7 MB, free: 8.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.007383, allocations: 11.88 kB / 250.7 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.007424, allocations: 11.98 kB / 250.8 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.007475, allocations: 4 kB / 250.8 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.007531, allocations: 11.92 kB / 250.8 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.007566, allocations: 0 / 250.8 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008827/0.008449, allocations: 0.5773 MB / 251.4 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-06/0.008455, allocations: 0 / 251.4 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.228e-05/0.008467, allocations: 4 kB / 251.4 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.009082, allocations: 422.9 kB / 251.8 MB, free: 7.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.009094, allocations: 0 / 251.8 MB, free: 7.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009095, allocations: 4 kB / 251.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.009106, 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.0003479/0.009454, allocations: 379.5 kB / 252.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.00949, allocations: 12.03 kB / 252.2 MB, free: 6.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.009524, allocations: 76.22 kB / 252.2 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.049e-05/0.009614, allocations: 189 kB / 252.4 MB, free: 6.375 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.009646, allocations: 154.9 kB / 252.6 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.009676, allocations: 150.9 kB / 252.7 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.124e-05/0.009717, allocations: 109.5 kB / 252.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.009735, allocations: 79.22 kB / 252.9 MB, free: 5.883 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.009768, allocations: 150.6 kB / 253 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.009797, allocations: 154.6 kB / 253.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.438e-05/0.009832, allocations: 154.6 kB / 253.3 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.009962, allocations: 357.2 kB / 253.7 MB, free: 5.066 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/0.01002, allocations: 169.1 kB / 253.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.01004, allocations: 84.12 kB / 253.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.01005, allocations: 75.28 kB / 254 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.01008, allocations: 105.8 kB / 254.1 MB, free: 4.617 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.01008, allocations: 4 kB / 254.1 MB, free: 4.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.211e-05/0.01013, allocations: 29.64 kB / 254.2 MB, free: 4.578 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.01017, allocations: 130.6 kB / 254.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.01023, allocations: 118.7 kB / 254.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.01024, allocations: 25.7 kB / 254.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.947e-05/0.01026, allocations: 84.14 kB / 254.5 MB, free: 4.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.51e-07/0.01026, allocations: 0 / 254.5 MB, free: 4.191 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.01028, allocations: 17.66 kB / 254.5 MB, free: 4.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.249e-05/0.01034, allocations: 310.8 kB / 254.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-06/0.01034, allocations: 0 / 254.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-06/0.01034, allocations: 0 / 254.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.768e-05/0.01036, allocations: 79.28 kB / 254.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/0.01038, allocations: 79.27 kB / 255 MB, free: 3.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.441e-05/0.01041, allocations: 33.62 kB / 255 MB, free: 3.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.01044, allocations: 87.28 kB / 255.1 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.01045, allocations: 75.38 kB / 255.2 MB, free: 3.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.01049, allocations: 154.6 kB / 255.3 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.975e-05/0.01051, allocations: 83.22 kB / 255.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/0.01054, allocations: 154.5 kB / 255.6 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.01058, allocations: 79.22 kB / 255.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.0106, allocations: 79.28 kB / 255.7 MB, free: 2.957 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.161e-05/0.01067, allocations: 264.4 kB / 256 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.0107, allocations: 105 kB / 256.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.01073, allocations: 112.1 kB / 256.2 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-05/0.01077, allocations: 180.3 kB / 256.4 MB, free: 2.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.691e-05/0.0108, allocations: 188.1 kB / 256.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.553e-05/0.01084, allocations: 180.2 kB / 256.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.01095, allocations: 321.4 kB / 257 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/0.01097, allocations: 105 kB / 257.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.01099, allocations: 101 kB / 257.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.01102, allocations: 116.9 kB / 257.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.493e-05/0.01105, allocations: 176.3 kB / 257.5 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.01109, allocations: 184.2 kB / 257.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.498e-05/0.01113, allocations: 176.3 kB / 257.9 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.583e-05/0.01116, allocations: 180.3 kB / 258 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.979e-05/0.01124, allocations: 315.7 kB / 258.4 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.01129, allocations: 180.5 kB / 258.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.89e-05/0.01134, allocations: 101 kB / 258.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.01138, allocations: 188.3 kB / 258.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.01141, allocations: 104.9 kB / 258.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.366e-05/0.01142, allocations: 13.11 kB / 258.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01142, allocations: 0 / 258.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003161/0.01174, allocations: 171.3 kB / 259.1 MB, free: 15.39 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.000945/0.01268, allocations: 0.7043 MB / 259.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.614e-05/0.01271, allocations: 4 kB / 259.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01271, allocations: 0 / 259.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.01271, allocations: 7.938 kB / 259.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.01291, allocations: 471.6 kB / 260.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.01342, allocations: 180 kB / 260.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.508e-05/0.01345, allocations: 51.36 kB / 260.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.023e-05/0.01346, allocations: 4 kB / 260.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.01348, allocations: 47.38 kB / 260.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01348, allocations: 7.938 kB / 260.6 MB, free: 14 MB / 266.7 MB Notification: Performance of Templates: time 0.004816/0.0183, allocations: 4.127 MB / 264.7 MB, free: 9.875 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.451345450244844]