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.0008106/0.0008106, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.0008443/0.0008443, allocations: 161.3 kB / 23.51 MB, free: 0.918 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 0.9242/0.9242, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.003796/0.003796, allocations: 0.7973 MB / 261.1 MB, free: 12.28 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.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.353e-06/1.353e-06, allocations: 0 / 330.6 MB, free: 19.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.621e-05, allocations: 6.25 kB / 330.6 MB, free: 19.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001227/0.001244, allocations: 1.234 MB / 331.8 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.003253, allocations: 2.197 MB / 334 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.003275, allocations: 0 / 334 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.003291, allocations: 0 / 334 MB, free: 15.81 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/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.000792/0.004083, allocations: 0.5098 MB / 334.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.004086, allocations: 0 / 334.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.629e-05/0.004122, allocations: 11.88 kB / 334.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.359e-05/0.004156, allocations: 8 kB / 334.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.004181, allocations: 3.984 kB / 334.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.004219, allocations: 11.92 kB / 334.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-06/0.004226, allocations: 0 / 334.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.004681, allocations: 0.5187 MB / 335.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-06/0.004687, allocations: 3.938 kB / 335.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.133e-05/0.004698, allocations: 4 kB / 335.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.005047, allocations: 490.8 kB / 335.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.005049, allocations: 0 / 335.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00505, allocations: 0 / 335.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005054, allocations: 4 kB / 335.6 MB, free: 14.25 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.0002449/0.005299, allocations: 365.2 kB / 335.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.00533, allocations: 8.031 kB / 335.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.005361, allocations: 80.22 kB / 336 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.413e-05/0.005445, allocations: 189 kB / 336.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.005459, allocations: 150.9 kB / 336.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.005474, allocations: 154.9 kB / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.82e-05/0.005512, allocations: 101.5 kB / 336.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005522, allocations: 87.2 kB / 336.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.005538, allocations: 150.6 kB / 336.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.005551, allocations: 150.6 kB / 337 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.005569, allocations: 158.5 kB / 337.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.005685, allocations: 401.6 kB / 337.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.005724, allocations: 173.2 kB / 337.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.005736, allocations: 80.14 kB / 337.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.005746, allocations: 75.28 kB / 337.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.00576, allocations: 105.8 kB / 337.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.005761, allocations: 4 kB / 337.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.284e-05/0.005814, allocations: 37.53 kB / 338 MB, free: 11.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.005837, allocations: 130.7 kB / 338.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.005907, allocations: 105.8 kB / 338.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-06/0.00591, allocations: 33.64 kB / 338.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.329e-05/0.005923, allocations: 84.14 kB / 338.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.005925, allocations: 0 / 338.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.005936, allocations: 9.719 kB / 338.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.747e-05/0.005963, allocations: 310.8 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-06/0.005967, allocations: 0 / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-06/0.00597, allocations: 4 kB / 338.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-06/0.005979, allocations: 79.27 kB / 338.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.005984, allocations: 75.28 kB / 338.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.829e-05/0.006012, allocations: 37.64 kB / 338.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.006025, allocations: 79.28 kB / 338.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.006032, allocations: 79.28 kB / 339 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.006052, allocations: 162.4 kB / 339.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-06/0.006058, allocations: 75.28 kB / 339.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.006067, allocations: 150.6 kB / 339.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.006098, allocations: 83.2 kB / 339.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.006103, allocations: 79.53 kB / 339.5 MB, free: 10.1 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 3.15e-05/0.006135, allocations: 260.4 kB / 339.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.006155, allocations: 108.9 kB / 339.9 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.353e-05/0.006168, allocations: 104.1 kB / 340 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.00618, allocations: 184.2 kB / 340.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.006193, allocations: 192.2 kB / 340.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.006204, allocations: 180.5 kB / 340.5 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.362e-05/0.006268, allocations: 356.8 kB / 340.9 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.006276, allocations: 109 kB / 341 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-06/0.006283, allocations: 105 kB / 341.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.006295, allocations: 184.2 kB / 341.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.006307, allocations: 176.3 kB / 341.4 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.006319, allocations: 184.2 kB / 341.6 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.00633, allocations: 184.2 kB / 341.8 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.912e-05/0.00637, allocations: 303.8 kB / 342.1 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.006381, allocations: 109 kB / 342.2 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.0064, allocations: 184.2 kB / 342.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.006429, allocations: 105 kB / 342.5 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.006449, allocations: 184.1 kB / 342.7 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.006456, allocations: 101 kB / 342.8 MB, free: 6.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.197e-05/0.006478, allocations: 95.2 kB / 342.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006478, allocations: 0 / 342.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.006752, allocations: 155.5 kB / 343 MB, free: 6.422 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.0006273/0.00738, allocations: 0.623 MB / 343.6 MB, free: 5.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.293e-05/0.007413, allocations: 4 kB / 343.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007414, allocations: 0 / 343.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.007415, allocations: 3.938 kB / 343.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.007591, allocations: 462.7 kB / 344.1 MB, free: 5.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000168/0.007759, allocations: 180 kB / 344.3 MB, free: 5.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.153e-05/0.00778, allocations: 59.36 kB / 344.3 MB, free: 5.133 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.543e-06/0.007787, allocations: 0 / 344.3 MB, free: 5.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.007802, allocations: 16.48 kB / 344.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of SimCode: time 3.6e-07/0.007802, allocations: 0 / 344.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of Templates: time 0.003609/0.01141, allocations: 3.443 MB / 347.8 MB, free: 1.672 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=480 -s gbode -gbm=radauIIA3 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.650261677801609]